Buffer overflow in Postgresql

CVE-2026-2007

Heap buffer overflow in PostgreSQL pg_trgm allows a database user to achieve unknown impacts via a crafted input string. The attacker has limited control over the byte patterns to be written, but we have not ruled out the viability of attacks that lead to privilege escalation. PostgreSQL 18.1 and 18.0 are affected.

Vulnerability class: Buffer Overflow

EPSS: 0.005 (38.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-2007?
CVE-2026-2007 is a high-severity vulnerability in Postgresql, classified under Heap-based Buffer Overflow. CVSS score: 8.2/10. Published 2026-02-12.
How severe is CVE-2026-2007?
High severity. CVSS v3 base score is 8.2 out of 10.