Skip to main content
VulnerabilityPublished Updated

CVE-2026-2005: PostgreSQL · Heap-based Buffer Overflow

Affects PostgreSQLSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High · fixed in 18.2 : patch PostgreSQL soon.

Data as of 22 Nov 2026, 21:14 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 18.2, 17.8, 16.12 +2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
PostgreSQLAffected
  • >=18 <18.2
Fixed in
  • 18.2
PostgreSQLAffected
  • >=17 <17.8
Fixed in
  • 17.8
PostgreSQLAffected
  • >=16 <16.12
Fixed in
  • 16.12
PostgreSQLAffected
  • >=15 <15.16
Fixed in
  • 15.16
PostgreSQLAffected
  • <14.21
Fixed in
  • 14.21

AI-suggested

Official patches are available from PostgreSQL and Red Hat for affected versions. Users should apply updates to PostgreSQL versions 18.2, 17.8, 16.12, 15.16, or 14.21 or later as provided by their vendor. Refer to the Red Hat security advisories (e.g., RHSA-2026:4441) for detailed update instructions. No additional mitigation steps are indicated beyond applying these official fixes.

Description

Heap buffer overflow in PostgreSQL pgcrypto allows a ciphertext provider to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

References

Community reviews

Loading reviews…