CVSS 4.0
5.1 mediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NMedium (5.1) in andialbrecht sqlparse. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in sqlparse 0.6.0.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:Nsqlparse (PyPI): fixed in 0.6.0Explain CVE-2026-84305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84305?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84305?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84305 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| andialbrecht sqlparse | < 0.6.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-cfqr-cjx5-5jcm | PyPI | sqlparse | <0.6.0 | 0.6.0 |
| PYSEC-2026-3923 | PyPI | sqlparse | <0.6.0 | 0.6.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | sqlparse | no fix listed | DEBIAN-CVE-2026-84305 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 26.04:LTS and 4 more | sqlparse | no fix listed | UBUNTU-CVE-2026-84305 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP7 | python-sqlparse | 0.2.4-150100.6.14.1 | SUSE-SU-2026:3978-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 | python-sqlparse | 0.4.4-150400.6.19.1 | SUSE-SU-2026:4109-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP6, Linux Enterprise Module for Python 3 15 SP7 | python-sqlparse | 0.4.4-150600.3.12.1 | SUSE-SU-2026:4145-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | python-sqlparse | 0.5.3-160000.5.1 | SUSE-SU-2026:23634-1 |
| openSUSE | Leap 16.0 | python-sqlparse | 0.5.3-160000.5.1 | openSUSE-SU-2026:21777-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
A denial of service vulnerability was found in sqlparse, a Python SQL parser library. When sqlparse.format() is invoked with the reindent=True option, processing specially crafted parenthesized tuple lists triggers quadratic CPU consumption due to repeated token tree traversal during offset calculation. This can cause request delays, reduced throughput, or worker starvation in applications that expose SQL formatting with reindentation to user input. Red Hat products are not affected by this vulnerability as they do not invoke the vulnerable code path - the reindent parameter is only used in Django's test debugging functionality, which is not present in production deployments.
For general mitigation guidance: Avoid using sqlparse.format() with reindent=True on untrusted input. If SQL formatting is required, either disable reindentation or implement request size limits and timeouts to prevent resource exhaustion. Update to sqlparse 0.6.0 or later, which fixes the quadratic behavior. Note that Red Hat products do not require mitigation as they do not use the vulnerable functionality.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 13 (Queens) | python-sqlparse | Not affected | |
| Red Hat OpenStack Platform 16.2 | python-sqlparse | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-aodh-api | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-aodh-base | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-aodh-evaluator | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-aodh-listener | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-aodh-notifier | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-barbican-api | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-barbican-base | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-barbican-keystone-listener | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-barbican-worker | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-ceilometer-base | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-ceilometer-central | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-ceilometer-compute | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-ceilometer-ipmi | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-ceilometer-notification | Not affected | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-cinder-api | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-cinder-backup | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-cinder-base | Under investigation | |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8/openstack-cinder-scheduler | Under investigation | |
| 180 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84305.