All reports
High

postgresql: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-2007

Probability of exploitation in the next 30 days: 0.54%

FIRST EPSS · 2026-11-22

Description

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.

A heap based buffer overflow has been discovered in postgresql. This heap buffer overflow is 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.