PostgreSQL 32-bit pltcl and plperl undersize allocations, via integer wraparound (CVE-2026-14677)
An integer wraparound vulnerability in PostgreSQL 32-bit builds of pltcl and plperl allows an attacker who can create objects to cause undersized memory allocations and write out-of-bounds via crafted function bodies. This flaw can lead to arbitrary code execution with the privileges of the database operating system user. The issue affects multiple PostgreSQL versions prior to 14.24, 15.19, 16.15, 17.11, and 18.5. A patch is available to address this vulnerability.
AI Analysis
Technical Summary
CVE-2026-14677 is an integer wraparound vulnerability in PostgreSQL 32-bit builds specifically affecting the pltcl and plperl procedural language handlers. The flaw allows an attacker capable of creating function bodies to trigger undersized memory allocations due to integer wraparound, resulting in out-of-bounds writes. This can enable arbitrary code execution as the OS user running the database server. Similar issues were addressed previously in CVE-2026-6473. Affected versions include PostgreSQL versions before 14.24, 15.19, 16.15, 17.11, and 18.5. A patch is available to remediate this vulnerability.
Potential Impact
Successful exploitation allows an attacker with the ability to create function bodies in the vulnerable PostgreSQL 32-bit builds to execute arbitrary code with the privileges of the operating system user running the database. This can lead to full compromise of the database server environment.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade affected PostgreSQL versions to 14.24 or later, 15.19 or later, 16.15 or later, 17.11 or later, or 18.5 or later to remediate the issue. No additional mitigations are specified beyond applying the official fix.
PostgreSQL 32-bit pltcl and plperl undersize allocations, via integer wraparound (CVE-2026-14677)
Description
An integer wraparound vulnerability in PostgreSQL 32-bit builds of pltcl and plperl allows an attacker who can create objects to cause undersized memory allocations and write out-of-bounds via crafted function bodies. This flaw can lead to arbitrary code execution with the privileges of the database operating system user. The issue affects multiple PostgreSQL versions prior to 14.24, 15.19, 16.15, 17.11, and 18.5. A patch is available to address this vulnerability.
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-14677 is an integer wraparound vulnerability in PostgreSQL 32-bit builds specifically affecting the pltcl and plperl procedural language handlers. The flaw allows an attacker capable of creating function bodies to trigger undersized memory allocations due to integer wraparound, resulting in out-of-bounds writes. This can enable arbitrary code execution as the OS user running the database server. Similar issues were addressed previously in CVE-2026-6473. Affected versions include PostgreSQL versions before 14.24, 15.19, 16.15, 17.11, and 18.5. A patch is available to remediate this vulnerability.
Potential Impact
Successful exploitation allows an attacker with the ability to create function bodies in the vulnerable PostgreSQL 32-bit builds to execute arbitrary code with the privileges of the operating system user running the database. This can lead to full compromise of the database server environment.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade affected PostgreSQL versions to 14.24 or later, 15.19 or later, 16.15 or later, 17.11 or later, or 18.5 or later to remediate the issue. No additional mitigations are specified beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m27x-8754-w5v9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-14677"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7e0366bf8831d5398f86a1
Added to database: 08/13/2026, 17:48:22 UTC
Last enriched: 09/08/2026, 15:14:58 UTC
Last updated: 09/26/2026, 06:54:34 UTC
Views: 51
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.