CVE-2026-2007
postgresql: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 12, 2026
Updated · June 30, 2026
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')