postgresql-12
Affected
- introduced
0(ecosystem)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: CVE-2026-6477
The record has no summary.
Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lseek64(), and lo_tell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., result_is_int=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \lo_export command in psql and pg_dump call lo_read(), the server superuser can overwrite pg_dump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0 (ecosystem)None listed
No fixed version is listed.
0, fixed 14.23-0ubuntu0.22.04.1 (ecosystem)14.23-0ubuntu0.22.04.1
14.23-0ubuntu0.22.04.1sudo apt-get update && sudo apt-get upgradeThis command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
0, fixed 16.14-0ubuntu0.24.04.1 (ecosystem)16.14-0ubuntu0.24.04.1
16.14-0ubuntu0.24.04.1sudo apt-get update && sudo apt-get upgradeThis command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
0, fixed 17.10-0ubuntu0.25.10.1 (ecosystem)17.10-0ubuntu0.25.10.1
17.10-0ubuntu0.25.10.1sudo apt-get update && sudo apt-get upgradeThis command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
0, fixed 18.4-0ubuntu0.26.04.1 (ecosystem)18.4-0ubuntu0.26.04.1
18.4-0ubuntu0.26.04.1sudo apt-get update && sudo apt-get upgradeThis command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Ubuntu Security Notices · CC BY-SA 4.0