Bug 2517527 (CVE-2026-54284) - CVE-2026-54284 sqlparse: sqlparse: Denial of Service via quadratic CPU consumption in SQL parsing
Summary: CVE-2026-54284 sqlparse: sqlparse: Denial of Service via quadratic CPU consum...
Keywords:
Status: NEW
Alias: CVE-2026-54284
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-17 18:02 UTC by OSIDB Bzimport
Modified: 2026-09-23 21:07 UTC (History)
58 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:51 UTC
Red Hat Product Errata RHSA-2026:71113 0 None None None 2026-09-23 20:50:45 UTC
Red Hat Product Errata RHSA-2026:71114 0 None None None 2026-09-23 21:07:33 UTC

Description OSIDB Bzimport 2026-08-17 18:02:58 UTC
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by group_parenthesis and group_case, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split() before depth and token limits terminate processing. This issue is fixed in version 0.6.0.

Comment 1 Jon Orris 2026-09-23 20:42:47 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:41 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:30 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


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