CVE-2026-2005: PostgreSQL · Heap-based Buffer Overflow
Affects PostgreSQLSource CVE Database V5
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQL | Affected
| Fixed in
|
| PostgreSQL | Affected
| Fixed in
|
| PostgreSQL | Affected
| Fixed in
|
| PostgreSQL | Affected
| Fixed in
|
| PostgreSQL | Affected
| Fixed in
|
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
- postgresql.org/support/security/CVE-2026-2005/ (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-2005 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2439326 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2005.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4441 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3887 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19010 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19009 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4064 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4024 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4059 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4063 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4506 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4509 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4504 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4505 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4516 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4075 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4074 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4515 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4518 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4254 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4475 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4548 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4544 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4524 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4546 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4547 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4528 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3896 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4110 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:3730 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8756 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:4943 (opens in a new tab)