Home / mailingsPDF  

[USN-8808-1] SQL parse vulnerabilities

Posted on 23 September 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-8808-1
September 23, 2026

sqlparse vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

SQL parse could be made to crash if it received specially crafted input.

Software Description:
- sqlparse: documentation for non-validating SQL parser in Python

Details:

It was discovered that SQL parse contained multiple algorithmic complexity
flaws when parsing SQL statements with deeply nested parentheses, comments,
or dollar-quoted string literals. An attacker could use this issue to cause
SQL parse to consume excessive CPU resources, resulting in a denial of
service.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 26.04 LTS
python3-sqlparse 0.5.4-1ubuntu0.1

Ubuntu 24.04 LTS
python3-sqlparse 0.4.4-1ubuntu0.2

Ubuntu 22.04 LTS
python3-sqlparse 0.4.2-1ubuntu0.22.04.3

Ubuntu 20.04 LTS
pypy-sqlparse 0.2.4-3ubuntu0.1+esm1
Available with Ubuntu Pro
python3-sqlparse 0.2.4-3ubuntu0.1+esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
pypy-sqlparse 0.2.4-0.1ubuntu0.1+esm1
Available with Ubuntu Pro
python-sqlparse 0.2.4-0.1ubuntu0.1+esm1
Available with Ubuntu Pro
python3-sqlparse 0.2.4-0.1ubuntu0.1+esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
pypy-sqlparse 0.1.18-1ubuntu0.1~esm1
Available with Ubuntu Pro
python-sqlparse 0.1.18-1ubuntu0.1~esm1
Available with Ubuntu Pro
python3-sqlparse 0.1.18-1ubuntu0.1~esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-8808-1
CVE-2026-54284, CVE-2026-59893, CVE-2026-71491

Package Information:
https://launchpad.net/ubuntu/+source/sqlparse/0.5.4-1ubuntu0.1
https://launchpad.net/ubuntu/+source/sqlparse/0.4.4-1ubuntu0.2
https://launchpad.net/ubuntu/+source/sqlparse/0.4.2-1ubuntu0.22.04.3

--===============0263842932387695014==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP