CVE-2026-2007
PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory
- State
- Published
- Severity
- 8.2 High
- Published
- Feb 12, 2026
- Updated
- Jul 15, 2026
- Reserved
- Feb 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H | PostgreSQL |
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
PostgreSQLn/a |
|
References
- https://www.postgresql.org/support/security/CVE-2026-2007/
- https://access.redhat.com/security/cve/CVE-2026-2007vdb-entry
- RHBZ#2439320issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2007.json
- https://access.redhat.com/errata/RHSA-2026:19009vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:8756vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.