CVE-2026-14677

8.8

PostgreSQL · PostgreSQL

An integer wraparound vulnerability in 32-bit PostgreSQL builds of pltcl and plperl enables authenticated attackers to cause undersized memory allocations and trigger out-of-bounds writes.

Executive summary

A high-severity integer wraparound flaw in PostgreSQL 32-bit builds allows authenticated attackers to potentially execute arbitrary code or crash the database server.

Vulnerability

This is an integer overflow or wraparound vulnerability (CWE-190) occurring within the pltcl and plperl language extensions. An attacker with authenticated access can provide crafted function bodies that manipulate memory allocation sizes, leading to out-of-bounds memory access.

Business impact

The vulnerability carries a CVSS score of 8.8, reflecting the significant risk of total compromise of confidentiality, integrity, and availability. Successful exploitation could allow an attacker to gain elevated control over the database environment, leading to unauthorized data exfiltration, modification, or complete service disruption.

Remediation

Immediate Action: Upgrade to the latest patched PostgreSQL release (e.g., 18.5, 17.11, 16.15, 15.19, or 14.24) as specified in the official vendor security advisory.

Proactive Monitoring: Review database audit logs for unusual function execution patterns or unexpected server crashes that may indicate exploitation attempts.

Compensating Controls: Restrict access to database administrative functions and the ability to create or modify procedural language functions to trusted users only.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the potential for total system compromise, organizations running 32-bit PostgreSQL instances must prioritize these updates. Apply the vendor-provided patches immediately to eliminate the risk of out-of-bounds memory corruption.

More PostgreSQL CVEs