synced JUST NOW
01 Record

CVE-2026-2007

PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

HighPUBLISHEDCNA: PostgreSQL
CNA base score8.2 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

02 Description

PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.54% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 45.4% of scored records. A rank, not a probability.
NVD base score
8.2 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-07-15.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2026-02-12 13:00Z8 MO AGO
Last updated
2026-07-15 01:20Z3 MO AGO
Reserved
2026-02-05
Assigning CNA
PostgreSQL
Record state
PUBLISHED
Severity
High (CVSS 8.2)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Weaknesses
  • CWE-122Heap-based Buffer OverflowVariant
  • CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')Base
Data version
5.2
Document digest
451de2346386e93a909b43bb34095b52bed5998390038b4dedd3eed1cd747db1

05 Affected products

VendorProductVersionsPlatforms
n/aPostgreSQL18 to < 18.2—

06 References

07 Fixed in

AlmaLinux 10

  • postgresql18
    Fixed in 18.3-1.el10_2
  • postgresql18-contrib
    Fixed in 18.3-1.el10_2
  • postgresql18-docs
    Fixed in 18.3-1.el10_2
  • postgresql18-plperl
    Fixed in 18.3-1.el10_2
  • postgresql18-plpython3
    Fixed in 18.3-1.el10_2
  • postgresql18-private-devel
    Fixed in 18.3-1.el10_2
  • postgresql18-private-libs
    Fixed in 18.3-1.el10_2
  • postgresql18-server
    Fixed in 18.3-1.el10_2
  • postgresql18-server-devel
    Fixed in 18.3-1.el10_2
  • postgresql18-static
    Fixed in 18.3-1.el10_2
  • postgresql18-test
    Fixed in 18.3-1.el10_2
  • postgresql18-test-rpm-macros
    Fixed in 18.3-1.el10_2
  • postgresql18-upgrade
    Fixed in 18.3-1.el10_2
  • postgresql18-upgrade-devel
    Fixed in 18.3-1.el10_2

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 10

  • postgresql18
    Fixed in 18.3-1.el10_2
  • postgresql18-contrib
    Fixed in 18.3-1.el10_2
  • postgresql18-docs
    Fixed in 18.3-1.el10_2
  • postgresql18-plperl
    Fixed in 18.3-1.el10_2
  • postgresql18-plpython3
    Fixed in 18.3-1.el10_2
  • postgresql18-private-devel
    Fixed in 18.3-1.el10_2
  • postgresql18-private-libs
    Fixed in 18.3-1.el10_2
  • postgresql18-server
    Fixed in 18.3-1.el10_2
  • postgresql18-server-devel
    Fixed in 18.3-1.el10_2
  • postgresql18-static
    Fixed in 18.3-1.el10_2
  • postgresql18-test
    Fixed in 18.3-1.el10_2
  • postgresql18-test-rpm-macros
    Fixed in 18.3-1.el10_2
  • postgresql18-upgrade
    Fixed in 18.3-1.el10_2
  • postgresql18-upgrade-devel
    Fixed in 18.3-1.el10_2

Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • postgresql-18
    Fixed in 18.2-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • postgresql-9.3
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.