CVE-2026-2007
NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 8.2 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityHigh
Affected & Patched Versions
- PostgreSQL >= 18.0 and < 18.2
- PostgreSQL >= 18 and < 18.2
- PostgreSQL 18.2
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run PostgreSQL and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Feb 12, 2026Published
- Jun 30, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PostgreSQL CVEsYou are reading CVE-2026-2007. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://www.postgresql.org/support/security/CVE-2026-2007/
- Referencehttps://access.redhat.com/errata/RHSA-2026:19009
- Referencehttps://access.redhat.com/errata/RHSA-2026:8756
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2026-2007
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2439320
- Referencehttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2007.json
Data last checked: Dec 3, 2026 01:10 UTC