Heap buffer overflow in PostgreSQL pg_dump of long function transform lists allows an object creator to execute arbitrary code as the operating… (CVE-2026-19385)
A heap buffer overflow vulnerability exists in PostgreSQL's pg_dump utility when processing long function transform lists. This flaw allows an object creator with appropriate privileges to execute arbitrary code with the operating system user privileges running pg_dump. The issue affects PostgreSQL versions prior to 18.5, 17.11, 16.15, 15.19, and 14.24.
AI Analysis
Technical Summary
CVE-2026-19385 is a heap buffer overflow vulnerability in PostgreSQL's pg_dump tool. It occurs when pg_dump processes long function transform lists, enabling an attacker who can create objects to execute arbitrary code as the OS user running pg_dump. The vulnerability affects multiple PostgreSQL major versions before the specified patch versions.
Potential Impact
Successful exploitation allows arbitrary code execution with the privileges of the operating system user running pg_dump, which could lead to full system compromise depending on those privileges. The vulnerability has a high CVSS score of 8.8, reflecting its critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The affected versions are those prior to PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24. Users should monitor official PostgreSQL advisories for patches or updates addressing this vulnerability and apply them promptly once available.
Heap buffer overflow in PostgreSQL pg_dump of long function transform lists allows an object creator to execute arbitrary code as the operating… (CVE-2026-19385)
Description
A heap buffer overflow vulnerability exists in PostgreSQL's pg_dump utility when processing long function transform lists. This flaw allows an object creator with appropriate privileges to execute arbitrary code with the operating system user privileges running pg_dump. The issue affects PostgreSQL versions prior to 18.5, 17.11, 16.15, 15.19, and 14.24.
CVSS v3.1
Score 8.8high
Affected software
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-19385 is a heap buffer overflow vulnerability in PostgreSQL's pg_dump tool. It occurs when pg_dump processes long function transform lists, enabling an attacker who can create objects to execute arbitrary code as the OS user running pg_dump. The vulnerability affects multiple PostgreSQL major versions before the specified patch versions.
Potential Impact
Successful exploitation allows arbitrary code execution with the privileges of the operating system user running pg_dump, which could lead to full system compromise depending on those privileges. The vulnerability has a high CVSS score of 8.8, reflecting its critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The affected versions are those prior to PostgreSQL 18.5, 17.11, 16.15, 15.19, and 14.24. Users should monitor official PostgreSQL advisories for patches or updates addressing this vulnerability and apply them promptly once available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4g6h-pg6m-qwgx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-19385"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a7e0366bf8831d5398f867d
Added to database: 08/13/2026, 17:48:22 UTC
Last enriched: 08/13/2026, 18:02:41 UTC
Last updated: 08/14/2026, 03:40:59 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.