CVE-2026-59893

Publication date 17 August 2026

Last updated 28 October 2026


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Description

sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQL_REGEX in sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py repeatedly scan unmatched dollar-quoted literal and multiline-comment delimiters, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split(). This issue is fixed in version 0.6.0.

Status

Package Ubuntu Release Status
sqlparse 26.10 stonking
Not affected
26.04 LTS resolute
Fixed in 0.5.4-1ubuntu0.1
24.04 LTS noble
Fixed in 0.4.4-1ubuntu0.2
22.04 LTS jammy
Fixed in 0.4.2-1ubuntu0.22.04.3
20.04 LTS focal
Fixed in 0.2.4-3ubuntu0.1+esm1
18.04 LTS bionic
Fixed in 0.2.4-0.1ubuntu0.1+esm1
16.04 LTS xenial
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-8808-1
    • SQL parse vulnerabilities
    • 23 September 2026

Other references


Access our resources on patching vulnerabilities