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.
CVE-2026-2005
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-02-12. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 56(Track)EG Risk 56/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 70%
- KEV
- Not listed
Published
February 12, 2026
Last Modified
July 15, 2026
Advisory Details (1)
Auto-updated Jun 7, 2026PostgreSQL: CVE-2026-2005: PostgreSQL pgcrypto heap buffer overflow executes arbitrary code
https://www.postgresql.org/support/security/CVE-2026-2005/Vendor Advisories for CVE-2026-2005(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:19010Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql16 security update
- RHSA-2026:19009Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql18 security update
- RHSA-2026:8756Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- RHSA-2026:4943Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Update Infrastructure 5.1 security update
- RHSA-2026:4548Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:15 security update
- RHSA-2026:4547Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:16 security update
- RHSA-2026:4544Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:16 security update
- RHSA-2026:4546Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:15 security update
- +12 more
Patch Availability(30)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(14 across 9 ecosystems)
Alpine:v3.20(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql15 | — | 15.16-r0 | — |
| postgresql16 | — | 16.12-r0 | — |
Alpine:v3.21(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql16 | — | 16.12-r0 | — |
| postgresql17 | — | 17.8-r0 | — |
Alpine:v3.22(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql16 | — | 16.12-r0 | — |
| postgresql17 | — | 17.8-r0 | — |
Alpine:v3.23(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql17 | — | 17.8-r0 | — |
| postgresql18 | — | 18.2-r0 | — |
Alpine:v3.24(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql17 | — | 17.8-r0 | — |
| postgresql18 | — | 18.2-r0 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-13 | 13.10-0+deb11u1 ... 13.9-0+deb11u1 (23 versions) | 13.23-0+deb11u2 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-15 | 15.10-0+deb12u1 ... 15.9-0+deb12u1 (18 versions) | 15.16-0+deb12u1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-17 | 17.5-1, 17.6-0+deb13u1, 17.6-1, 17.7-0+deb13u1 | 17.8-0+deb13u1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-18 | 18.0-1 ... 18~~devel.20250502-1 (17 versions) | 18.2-1 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(11)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2026:4024IMPORTANT2026-02-12
RHSA-2026:4024 — Important
- Red HatRHSA-2026:4064IMPORTANT2026-02-12
RHSA-2026:4064 — Important
- Red HatRHSA-2026:4074IMPORTANT2026-02-12
RHSA-2026:4074 — Important
- Red HatRHSA-2026:4075IMPORTANT2026-02-12
RHSA-2026:4075 — Important
- Red HatRHSA-2026:4475IMPORTANT2026-02-12
RHSA-2026:4475 — Important
- Red HatRHSA-2026:4504IMPORTANT2026-02-12
RHSA-2026:4504 — Important
- Red HatRHSA-2026:4505IMPORTANT2026-02-12
RHSA-2026:4505 — Important
- Red HatRHSA-2026:4506IMPORTANT2026-02-12
RHSA-2026:4506 — Important
- Red HatRHSA-2026:4509IMPORTANT2026-02-12
RHSA-2026:4509 — Important
- Red HatRHSA-2026:4516IMPORTANT2026-02-12
RHSA-2026:4516 — Important
- Red HatRHSA-2026:4518IMPORTANT2026-02-12
RHSA-2026:4518 — Important
Data Freshness Timeline
(refreshed 7× in last 7d / 30× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 188 total refreshes for this CVE.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-17 19:30 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-31 19:04 UTCOSV refresh
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-24 14:17 UTCEPSS rescore
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 22:36 UTCVendor advisory
- 2026-08-14 22:36 UTCGHSA enrichment
- 2026-08-14 10:14 UTCEG score recompute
- 2026-08-14 10:14 UTCVendor advisory
- 2026-08-14 10:14 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 02:31 UTCEG score recompute
- 2026-08-13 02:31 UTCVendor advisory
- 2026-08-13 02:31 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-11 13:42 UTCEPSS rescore
- 2026-08-11 08:57 UTCEG score recompute
- 2026-08-11 08:57 UTCVendor advisory
- 2026-08-11 08:57 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 02:56 UTCVendor advisory
- 2026-08-10 02:56 UTCGHSA enrichment
- 2026-08-09 14:54 UTCEG score recompute
- 2026-08-09 14:54 UTCVendor advisory
- 2026-08-09 14:54 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 09:50 UTCVendor advisory
- 2026-08-08 09:50 UTCGHSA enrichment
- 2026-08-07 22:04 UTCEG score recompute
- 2026-08-07 22:04 UTCVendor advisory
- 2026-08-07 22:04 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 03:56 UTCEG score recompute
- 2026-08-06 03:56 UTCVendor advisory
- 2026-08-06 03:56 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 20:44 UTCEG score recompute
- 2026-08-02 20:44 UTCVendor advisory
- 2026-08-02 20:44 UTCGHSA enrichment
- 2026-08-02 02:26 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-28 15:36 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:06 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-17 14:59 UTCOSV refresh
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
Publicly available exploits
(2 references)Working exploit code is in the public domain (2 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCvar77/CVE-2026-2005First seen May 13, 2026
PoC for CVE-2026-2005
Open source ↗ - GitHub PoCdinosn/cve-2026-2005First seen May 5, 2026
CVE-2026-2005 — PostgreSQL pgcrypto heap overflow RCE exploit
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-1009EG 10.0EPSS p93HIGH
- CVE-2001-0554EG 10.0EPSS p99HIGH
- CVE-2001-1162EG 10.0EPSS p96HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p91HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
Same CWE
10 shownCWE-120
- CVE-2010-10016EG 10.0CRITICAL
- CVE-2012-10035EG 10.0CRITICAL
- CVE-2011-4862EG 10.0EPSS p100HIGH
- CVE-2008-3496EG 10.0HIGH
- CVE-2007-1770EG 10.0EPSS p97HIGH
- CVE-2002-1337EG 10.0EPSS p99HIGH
- CVE-2001-0554EG 10.0EPSS p99HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-1999-1237EG 10.0EPSS p95HIGH
- CVE-1999-0385EG 10.0EPSS p97HIGH
Frequently asked(5)
What is CVE-2026-2005?
When was CVE-2026-2005 disclosed?
Is CVE-2026-2005 actively exploited?
What is the CVSS score of CVE-2026-2005?
How do I remediate CVE-2026-2005?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-2005
Is Your Infrastructure Affected by CVE-2026-2005?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.