CVE-2026-2007: PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
Heap buffer overflow in PostgreSQL pgtrgm 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-2007?
CVE-2026-2007 is rated as a critical severity vulnerability due to its potential to allow arbitrary memory writes.
How do I fix CVE-2026-2007?
To mitigate CVE-2026-2007, upgrade PostgreSQL to version 18.1 or later.
Who is affected by CVE-2026-2007?
CVE-2026-2007 affects all PostgreSQL versions from 18.0.
What are the potential impacts of CVE-2026-2007?
CVE-2026-2007 could lead to data corruption, service disruptions, or unauthorized access to system memory.
What input can trigger CVE-2026-2007?
CVE-2026-2007 can be triggered by a crafted input string to the pg_trgm function in PostgreSQL.