JLSEC-2026-1593: Buffer Overflow
Heap buffer overflow in PostgreSQL pgdump of long function transform lists allows an object creator to execute arbitrary code as the operating system user running pgdump, via a crafted transform list. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.19 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.24
Event History
Frequently Asked Questions
Who can trigger the issue in practice?
An attacker needs to be able to create a database object containing a crafted transform list. The payload executes when pg_dump processes that object, so environments that run pg_dump against databases where untrusted users can create such objects are exposed.
What privileges or interaction are required for exploitation?
The attacker requires privileges sufficient to create the crafted object. No user interaction is required once pg_dump processes the malicious transform list.
What is the impact of a successful exploit?
The attacker can execute arbitrary code as the operating system user running pg_dump. The reported impact includes compromise of confidentiality, integrity, and availability.
How can I determine whether the PostgreSQL component is affected?
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected. Check the PostgreSQL version used by the pg_dump binary in the relevant environment.
What can be done if updating is not immediately possible?
Avoid running pg_dump against databases where potentially malicious users can create objects with crafted transform lists. Restrict object-creation privileges for untrusted users until an updated PostgreSQL version can be used.