PostgreSQL plperl tied object heap buffer overflow executes arbitrary code (CVE-2026-14670)
A heap buffer overflow vulnerability exists in the PostgreSQL plperl extension 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. Versions prior to PostgreSQL 14.24, 15.19, 16.15, 17.11, and 18.6 are affected. A patch is available to address this issue.
AI Analysis
Technical Summary
CVE-2026-14670 is a heap buffer overflow vulnerability in the PostgreSQL plperl return of a tied hash. This vulnerability enables an attacker who can define a function to execute arbitrary code as the OS user running the database. The affected versions include PostgreSQL releases before 14.24, 15.19, 16.15, 17.11, and 18.6. The vulnerability is classified under CWE-122 (Heap-based Buffer Overflow). A patch has been released to fix this issue.
Potential Impact
Successful exploitation allows arbitrary code execution with the privileges of the operating system user running the PostgreSQL database. This could lead to full compromise of the database server under the context of that user.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade PostgreSQL to versions 14.24, 15.19, 16.15, 17.11, 18.6 or later to remediate this issue.
PostgreSQL plperl tied object heap buffer overflow executes arbitrary code (CVE-2026-14670)
Description
A heap buffer overflow vulnerability exists in the PostgreSQL plperl extension 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. Versions prior to PostgreSQL 14.24, 15.19, 16.15, 17.11, and 18.6 are affected. A patch is available to address this issue.
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-14670 is a heap buffer overflow vulnerability in the PostgreSQL plperl return of a tied hash. This vulnerability enables an attacker who can define a function to execute arbitrary code as the OS user running the database. The affected versions include PostgreSQL releases before 14.24, 15.19, 16.15, 17.11, and 18.6. The vulnerability is classified under CWE-122 (Heap-based Buffer Overflow). A patch has been released to fix this issue.
Potential Impact
Successful exploitation allows arbitrary code execution with the privileges of the operating system user running the PostgreSQL database. This could lead to full compromise of the database server under the context of that user.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade PostgreSQL to versions 14.24, 15.19, 16.15, 17.11, 18.6 or later to remediate this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hv8p-f6vx-h5x6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14670"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e0367bf8831d5398f8748
Added to database: 08/13/2026, 17:48:23 UTC
Last enriched: 09/08/2026, 15:15:29 UTC
Last updated: 09/28/2026, 13:47:42 UTC
Views: 48
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.