Description
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.
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| postgresql-10 | — | — |
| postgresql-12 | — | — |
| postgresql-14 | — | 14.23-0ubuntu0.22.04.1 |
| postgresql-16 | — | 16.14-0ubuntu0.24.04.1 |
| postgresql-17 | — | 17.10-0ubuntu0.25.10.1 |
| postgresql-18 | — | 18.4-0ubuntu0.26.04.1 |
| postgresql-9.3 | — | — |
| postgresql-9.5 | — | — |
References
Similar Threats
- Unknown CLSA-2026-1779880647
- Unknown CLSA-2025-1742471100
- Unknown UBUNTU-CVE-2024-10976
- Unknown UBUNTU-CVE-2024-10977
- Unknown UBUNTU-CVE-2024-10978
Free Vulnerability Check
Is your WordPress site affected?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.