Buffer overflow in PostgreSQL

CVE-2026-2005

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.013 (69.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 70th percentile — 69.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-2005: held from 0.013 to 0.013.

EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: +0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-2005?
CVE-2026-2005 is a high-severity vulnerability in PostgreSQL, classified under Heap-based Buffer Overflow. CVSS score: 8.8/10. Published 2026-02-12.
How severe is CVE-2026-2005?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2026-2005 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.