Home / mailingsPDF  

[USN-8765-1] python-sql vulnerability

Posted on 15 September 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-8765-1
September 15, 2026

python-sql vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

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

Summary:

python-sql could allow an attacker to perform SQL injection attacks.

Software Description:
- python-sql: Library to write SQL queries

Details:

Cédric Krier discovered that python-sql incorrectly escaped values passed
to unary operators. An attacker could possibly use this issue to perform
SQL injection attacks.

Update instructions:

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

Ubuntu 24.04 LTS
python3-sql 1.4.0-1+deb12u1build0.24.04.1

Ubuntu 22.04 LTS
python3-sql 1.3.0-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 20.04 LTS
python3-sql 1.1.0-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
python-sql 0.9-1ubuntu0.1~esm1
Available with Ubuntu Pro
python3-sql 0.9-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 16.04 LTS
python-sql 0.8-1ubuntu0.1~esm1
Available with Ubuntu Pro
python3-sql 0.8-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-8765-1
CVE-2024-9774

Package Information:
https://launchpad.net/ubuntu/+source/python-sql/1.4.0-1+deb12u1build0.24.04.1

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

 

TOP