Arbitrary Code Execution in PostgreSQL to_char(timestamptz)
CVE-2026-14669 is a heap-based buffer overflow in PostgreSQL's to_char(timestamptz) function when processing a long POSIX timezone abbreviation. A party able to choose the timezone can trigger memory corruption and execute arbitrary code as the operating system account running the database server. Affected releases precede PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 within their respective major-version branches.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the PostgreSQL server process with the privileges of its operating system account, potentially allowing disclosure or modification of database data, access to other resources available to that account, and disruption of database availability. The vulnerability is rated CVSS 3.1 8.8, with high confidentiality, integrity, and availability impacts. It does not inherently grant operating system root privileges.
If you can’t patch tonight, do this now.
Until patching is complete, restrict untrusted database users and application inputs from controlling timezone values that reach to_char(timestamptz). Limit database network access to trusted clients and enforce least-privilege database roles. These measures reduce exposure but do not replace the security update.
Patch, then assume compromise.
Upgrade to PostgreSQL 18.6, 17.11, 16.15, 15.19, or 14.24 or later within the corresponding release branch, or install the distribution's security-fixed PostgreSQL packages. Migrate older unsupported releases to a supported, patched version. Restart PostgreSQL after package updates so the patched server binaries take effect.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
89 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.