Heap buffer overflow in PostgreSQL plperl return of a tied hash allows the function owner to execute arbitrary code as the operating system user… (CVE-2026-14670)
A heap buffer overflow vulnerability exists in the PostgreSQL plperl procedural language when returning a tied hash. This flaw allows the function owner to execute arbitrary code with the privileges of the operating system user running the database. The vulnerability affects PostgreSQL versions prior to 18.5, 17.11, 16.15, 15.19, and 14.24. It has a high severity with a CVSS score of 8.8.
AI Analysis
Technical Summary
CVE-2026-14670 is a heap buffer overflow vulnerability in PostgreSQL's plperl procedural language handler. The issue arises when returning a tied hash from a plperl function, enabling the function owner to execute arbitrary code as the OS user running the database. This vulnerability affects multiple PostgreSQL major versions before the specified patch levels: 18.5, 17.11, 16.15, 15.19, and 14.24. The CVSS v3.1 score is 8.8, indicating high severity with network attack vector, low attack complexity, requiring privileges, no user interaction, and full confidentiality, integrity, and availability impact. No known exploits in the wild have been reported at this time.
Potential Impact
Successful exploitation allows an attacker with function owner privileges to execute arbitrary code on the operating system with the same privileges as the database server process. This can lead to full compromise of the database server and potentially the underlying host system.
Mitigation Recommendations
A fix is available in PostgreSQL versions 18.5, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these versions or later to remediate the vulnerability. Patch status is confirmed by the version numbers listed as fixed. No additional mitigation guidance is provided.
Heap buffer overflow in PostgreSQL plperl return of a tied hash allows the function owner to execute arbitrary code as the operating system user… (CVE-2026-14670)
Description
A heap buffer overflow vulnerability exists in the PostgreSQL plperl procedural language when returning a tied hash. This flaw allows the function owner to execute arbitrary code with the privileges of the operating system user running the database. The vulnerability affects PostgreSQL versions prior to 18.5, 17.11, 16.15, 15.19, and 14.24. It has a high severity with a CVSS score of 8.8.
CVSS v3.1
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-14670 is a heap buffer overflow vulnerability in PostgreSQL's plperl procedural language handler. The issue arises when returning a tied hash from a plperl function, enabling the function owner to execute arbitrary code as the OS user running the database. This vulnerability affects multiple PostgreSQL major versions before the specified patch levels: 18.5, 17.11, 16.15, 15.19, and 14.24. The CVSS v3.1 score is 8.8, indicating high severity with network attack vector, low attack complexity, requiring privileges, no user interaction, and full confidentiality, integrity, and availability impact. No known exploits in the wild have been reported at this time.
Potential Impact
Successful exploitation allows an attacker with function owner privileges to execute arbitrary code on the operating system with the same privileges as the database server process. This can lead to full compromise of the database server and potentially the underlying host system.
Mitigation Recommendations
A fix is available in PostgreSQL versions 18.5, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these versions or later to remediate the vulnerability. Patch status is confirmed by the version numbers listed as fixed. No additional mitigation guidance is provided.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hv8p-f6vx-h5x6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14670"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a7e0367bf8831d5398f8748
Added to database: 08/13/2026, 17:48:23 UTC
Last enriched: 08/13/2026, 19:11:39 UTC
Last updated: 08/13/2026, 20:41:00 UTC
Views: 2
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.