High [CVE-2026-54284] Denial of Service via quadratic CPU consumption in SQL parsing
This high-severity Red Hat Linux advisory covers CVE-2026-54284 affecting Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 10.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
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.
A remote attacker could exploit a vulnerability in the TokenList construction and string conversion processes, specifically when handling nested token subtrees. This flaw leads to quadratic CPU consumption, which can result in a Denial of Service (DoS) by exhausting system resources before internal limits are reached.
Red Hat severity: Important — CVSS 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). Weakness: CWE-1333.
Affected products named by the advisory: Red Hat Ansible Automation Platform 2.5 for RHEL 8; Red Hat Ansible Automation Platform 2.5 for RHEL 9; Red Hat Ansible Automation Platform 2.6 for RHEL 10; Red Hat Ansible Automation Platform 2.6 for RHEL 9; and 21 more.
Affected products named by the advisory: Red Hat Ansible Automation Platform 2.7 for RHEL 10; Red Hat Ansible Automation Platform 2.7 for RHEL 9; Red Hat Satellite 6.16 for RHEL 8; Red Hat Satellite 6.16 for RHEL 9; and 17 more.
- < 0.6.0
Official advisory · high-confidence parse· fetched 15 days ago·verify at source
- 0.6.0
- python3.12-sqlparse-0:0.6.0-1.el8ap
- python3.12-sqlparse-0:0.6.0-1.el9ap
- python-sqlparse-0:0.6.0-1.el10ap
- python-sqlparse-0:0.6.0-1.el8pc
- python-sqlparse-0:0.6.0-1.el9pc
- python3.12-sqlparse-0:0.6.0-1.el9pc
- ansible-automation-platform-25/gateway-rhel8:1789605572
- ansible-automation-platform-25/hub-rhel8:1789606395
- ansible-automation-platform-25/lightspeed-rhel8:1789685837
- ansible-automation-platform-26/eda-controller-rhel9:1789653608
- ansible-automation-platform-26/gateway-rhel9:1789666472
- ansible-automation-platform-26/hub-rhel9:1789611274
- ansible-automation-platform-26/lightspeed-rhel9:1789656884
- ansible-automation-platform-tech-preview/metrics-service-rhel9:1789654558
- ansible-automation-platform-27/eda-controller-rhel9:1788917355
- ansible-automation-platform-27/gateway-rhel9:1788918510
- ansible-automation-platform-27/lightspeed-rhel9:1788916677
- ansible-automation-platform-27/metrics-service-rhel9:1788917058
- ansible-automation-platform-27/hub-rhel9:1789572632
- discovery/discovery-server-rhel9:1788205779
- rhoai/odh-training-cuda128-torch29-py312-rhel9:1789529851
- openshift4/ose-ironic-rhel9:1789937634
- openshift4/ose-ironic-rhel9:1788575555
- openshift4/ose-ironic-rhel9:1788897041
- openshift4/ose-ironic-rhel9:1788947139
- openshift4/ose-ironic-rhel9:1788928245
- openshift4/ose-ironic-rhel9:1788961909
- satellite/iop-advisor-backend-rhel9:1789666499
- satellite/iop-advisor-backend-rhel9:1789666498
- RHSA-2026:71114
- RHSA-2026:71113
- RHSA-2026:71112
- RHSA-2026:74506
- RHSA-2026:74504
- RHSA-2026:74503
- RHSA-2026:71210
- RHSA-2026:71179
- RHSA-2026:67279
- RHSA-2026:71177
- RHSA-2026:61783
- RHSA-2026:69539
- RHSA-2026:70587
- RHSA-2026:65852
- RHSA-2026:66371
- RHSA-2026:66377
- RHSA-2026:66352
- RHSA-2026:66358
- RHSA-2026:74643
- RHSA-2026:74648
Official advisory · high-confidence parse· fetched 15 days ago·verify at source
Mitigation
Upgrade to a fixed release: 0.6.0, python3.12-sqlparse-0:0.6.0-1.el8ap, python3.12-sqlparse-0:0.6.0-1.el9ap, python-sqlparse-0:0.6.0-1.el10ap, python-sqlparse-0:0.6.0-1.el8pc, python-sqlparse-0:0.6.0-1.el9pc. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 15 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.