Bug 2517518 (CVE-2026-71491) - CVE-2026-71491 sqlparse: sqlparse: Denial of Service via quadratic CPU consumption in comment grouping
Summary: CVE-2026-71491 sqlparse: sqlparse: Denial of Service via quadratic CPU consum...
Keywords:
Status: NEW
Alias: CVE-2026-71491
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-17 17:40 UTC by OSIDB Bzimport
Modified: 2026-10-06 12:58 UTC (History)
63 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:71112 0 None None None 2026-09-23 20:42:46 UTC
Red Hat Product Errata RHSA-2026:71113 0 None None None 2026-09-23 20:50:37 UTC
Red Hat Product Errata RHSA-2026:71114 0 None None None 2026-09-23 21:07:30 UTC
Red Hat Product Errata RHSA-2026:74504 0 None None None 2026-10-01 22:12:28 UTC
Red Hat Product Errata RHSA-2026:74505 0 None None None 2026-10-01 22:13:29 UTC

Description OSIDB Bzimport 2026-08-17 17:40:22 UTC
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql, strip_comments=True). This issue is fixed in version 0.6.0.

Comment 1 Jon Orris 2026-09-23 20:42:42 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.7 for RHEL 10
  Red Hat Ansible Automation Platform 2.7 for RHEL 9

Via RHSA-2026:71112 https://access.redhat.com/errata/RHSA-2026:71112

Comment 2 Jon Orris 2026-09-23 20:50:33 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 10
  Red Hat Ansible Automation Platform 2.6 for RHEL 9

Via RHSA-2026:71113 https://access.redhat.com/errata/RHSA-2026:71113

Comment 3 Jon Orris 2026-09-23 21:07:27 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 9
  Red Hat Ansible Automation Platform 2.5 for RHEL 8

Via RHSA-2026:71114 https://access.redhat.com/errata/RHSA-2026:71114

Comment 4 Jon Orris 2026-10-01 22:12:24 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.18 for RHEL 9

Via RHSA-2026:74504 https://access.redhat.com/errata/RHSA-2026:74504

Comment 5 Jon Orris 2026-10-01 22:13:25 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2026:74505 https://access.redhat.com/errata/RHSA-2026:74505


Note You need to log in before you can comment on or make changes to this bug.