CVE-2026-2007

published 12 Feb 2026 · updated 15 Jul 2026

PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

8.2HighCVSS 8.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 18.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=18 <18.218.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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