Back to CVE catalog
CVE-2026-2007

Heap buffer overflow in PostgreSQL pg_trgm

Not specified PostgreSQL

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityNone
IntegrityLow
AvailabilityHigh

CVSS summary v3.1

8.2High
Published:
Updated:
EPSS:
0.538%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Not specifiedPostgreSQLAffected versions:
≥ 18, < 18.2
Vendor:Red HatRed Hat Enterprise Linux 10Affected versions:
Range not specifiedShow full version range for Red Hat Enterprise Linux 10
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 0:18.3-1.el10_2
Vendor:Red HatRed Hat Hardened ImagesAffected versions:
Range not specifiedShow full version range for Red Hat Hardened Images
  • Other versions are affected by default; consult the source for exceptions.
  • Other source statuses: unaffected: ≥ 18.3-1.2.hum1
Vendor:Red HatRed Hat Enterprise Linux 9Affected versions:
Range not specifiedShow full version range for Red Hat Enterprise Linux 9
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Red HatRed Hat Enterprise Linux AppStream (v. 10)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux CodeReady Linux Builder (v. 10)Affected versions:Source does not specify a version range
Vendor:SUSESUSE Liberty Linux 10Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise Desktop 15 SP7Affected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSAffected versions:Source does not specify a version range
Vendor:SUSESUSE Linux Enterprise High Performance Computing 15 SP4-LTSSAffected versions:Source does not specify a version range

1–10 of 37 · Page 1 of 4

CVSS scores and metrics6
PostgreSQL · CVE List / CNA (cna)Primary8.2 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
redhat-SADP · CVE List / CNA (adp)8.2 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 · NVD (Secondary)8.2 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
0b0ca135-0b70-47e7-9f44-1890c2a1c46c · NVD (Secondary)8.2 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Red Hat · Red Hat VEX (adp)8.2 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
SUSE · SUSE VEX (adp)8.2 / 10HighCVSS 3.1Details
Attack complexity
Low
Confidentiality
None
Integrity
Low
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories10

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences