{"schemaVersion":3,"id":"CVE-2026-84305","aliases":["SUSE-SU-2026:23634-1","SUSE-SU-2026:3978-1","SUSE-SU-2026:4109-1","SUSE-SU-2026:4145-1","GHSA-cfqr-cjx5-5jcm","PYSEC-2026-3923","UBUNTU-CVE-2026-84305","DEBIAN-CVE-2026-84305","CGA-5235-8c4v-9ff6","openSUSE-SU-2026:21777-1","CGA-45f4-fc2x-q8f8","CGA-fm45-86vh-cv44","CGA-hc3h-pr2h-9hxg","CGA-j475-833j-vx39"],"status":"published","duplicateOf":null,"title":null,"description":"sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.","dates":{"published":"2026-09-01T18:33:10.969Z","modified":"2026-09-01T19:12:52.039Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00189,"percentile":0.08026,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.064,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00125},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00189,"percentile":0.08026}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00125,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00189,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00189,"percentile":0.08026}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity","description":"An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/407.html"}],"affected":[{"vendor":"andialbrecht","product":"sqlparse","name":"sqlparse","label":"sqlparse","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.0","eol":null,"hubHref":"/vendor/andialbrecht/sqlparse"},{"vendor":"chainguard","product":"dbt-bigquery","name":"dbt-bigquery","label":"dbt-bigquery","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dbt-bigquery","purlType":"apk","versions":[{"text":"< 1.10.3-r8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.3-r8","eol":null,"hubHref":null},{"vendor":"chainguard","product":"dbt-core","name":"dbt-core","label":"dbt-core","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dbt-core","purlType":"apk","versions":[{"text":"< 1.12.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.3-r0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"dbt-core","label":"dbt Core","category":"app"}},"hubHref":null},{"vendor":"chainguard","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"sqlparse","name":"sqlparse","label":"sqlparse","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sqlparse","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sqlparse","name":"sqlparse","label":"sqlparse","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sqlparse","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"sqlparse","name":"sqlparse","label":"sqlparse","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/sqlparse","purlType":"pypi","versions":[{"text":"< 0.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.0","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-sqlparse&distro=openSUSE Leap 16.0","name":"python-sqlparse","label":"python-sqlparse&distro=openSUSE Leap 16.0","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-sqlparse&distro=openSUSE Leap 16.0","purlType":"rpm","versions":[{"text":"< 0.5.3-160000.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.3-160000.5.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Module for Package Hub 15 SP7","purlType":"rpm","versions":[{"text":"< 0.2.4-150100.6.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.4-150100.6.14.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4","purlType":"rpm","versions":[{"text":"< 0.4.4-150400.6.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.4-150400.6.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP5","purlType":"rpm","versions":[{"text":"< 0.4.4-150400.6.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.4-150400.6.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP6","purlType":"rpm","versions":[{"text":"< 0.4.4-150600.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.4-150600.3.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Module for Python 3 15 SP7","purlType":"rpm","versions":[{"text":"< 0.4.4-150600.3.12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.4-150600.3.12.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Server 16.0","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Server 16.0","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Server 16.0","purlType":"rpm","versions":[{"text":"< 0.5.3-160000.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.3-160000.5.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-sqlparse&distro=SUSE Linux Enterprise Server for SAP applications 16.0","name":"python-sqlparse","label":"python-sqlparse&distro=SUSE Linux Enterprise Server for SAP applications 16.0","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-sqlparse&distro=SUSE Linux Enterprise Server for SAP applications 16.0","purlType":"rpm","versions":[{"text":"< 0.5.3-160000.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.3-160000.5.1","eol":null,"hubHref":null}],"affectedCount":16,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-cfqr-cjx5-5jcm","label":"github.com/andialbrecht/sqlparse/security/advisories/GHSA-cfqr-cjx5-5jcm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Advisory"]},{"url":"https://github.com/andialbrecht/sqlparse/commit/a51df6d9e2d31b44be9adb6bc8732517db6bf96b","label":"github.com/andialbrecht/sqlparse/commit/a51df6d9e2d31b44be9adb6bc8732517db6bf96b","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX"]},{"url":"https://github.com/andialbrecht/sqlparse/releases/tag/0.6.0","label":"github.com/andialbrecht/sqlparse/releases/tag/0.6.0","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623634-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-202623634-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1278097","label":"bugzilla.suse.com/1278097","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2026-84305","label":"www.suse.com/security/cve/CVE-2026-84305","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263978-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-20263978-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264109-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-20264109-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20264145-1/","label":"www.suse.com/support/update/announcement/2026/suse-su-20264145-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://github.com/andialbrecht/sqlparse","label":"github.com/andialbrecht/sqlparse","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/sqlparse","label":"pypi.org/project/sqlparse","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-cfqr-cjx5-5jcm","label":"github.com/advisories/GHSA-cfqr-cjx5-5jcm","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84305","label":"nvd.nist.gov/vuln/detail/CVE-2026-84305","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-84305","label":"ubuntu.com/security/CVE-2026-84305","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-84305","label":"www.cve.org/CVERecord?id=CVE-2026-84305","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-84305","label":"security-tracker.debian.org/tracker/CVE-2026-84305","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84305.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84305.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-9C5G-G5W6-CF9X"]},"timeline":[{"kind":"published","date":"2026-09-01T18:33:10.969Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-01T19:12:52.039Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T02:29:09.530Z","stale":false,"partial":false}}