CVE-2026-2005

published 12 Feb 2026 · updated 15 Jul 2026

PostgreSQL pgcrypto heap buffer overflow executes arbitrary code

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 14.21, 15.16, 16.12 and 2 more.

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<14.21, >=15 <15.16, >=16 <16.12, >=17 <17.8, >=18 <18.214.21, 15.16, 16.12, 17.8, 18.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-2005 severity on Zeptric[![CVE-2026-2005](https://zeptric.io/badge/cve/CVE-2026-2005.svg)](https://zeptric.io/cve/CVE-2026-2005)