8.8
HIGH CVSS 3.1
CVE-2026-2005
PostgreSQL pgcrypto heap buffer overflow executes arbitrary code
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.

INFO

Published Date :

Feb. 12, 2026, 2:16 p.m.

Last Modified :

June 30, 2026, 3:18 a.m.

Remotely Exploit :

No

Source :

f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Affected Products

The following products are affected by CVE-2026-2005 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Postgresql postgresql
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 HIGH MITRE-CVE
CVSS 3.1 HIGH 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Solution
Update PostgreSQL to a patched version to fix a heap buffer overflow vulnerability.
  • Upgrade PostgreSQL to version 18.2 or later.
  • Upgrade PostgreSQL to version 17.8 or later.
  • Upgrade PostgreSQL to version 16.12 or later.
  • Upgrade PostgreSQL to version 15.16 or later.
Public PoC/Exploit Available at Github

CVE-2026-2005 has a 12 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-2005.

URL Resource
https://www.postgresql.org/support/security/CVE-2026-2005/ Vendor Advisory
https://access.redhat.com/errata/RHSA-2026:19009
https://access.redhat.com/errata/RHSA-2026:19010
https://access.redhat.com/errata/RHSA-2026:3730
https://access.redhat.com/errata/RHSA-2026:3887
https://access.redhat.com/errata/RHSA-2026:3896
https://access.redhat.com/errata/RHSA-2026:4024
https://access.redhat.com/errata/RHSA-2026:4059
https://access.redhat.com/errata/RHSA-2026:4063
https://access.redhat.com/errata/RHSA-2026:4064
https://access.redhat.com/errata/RHSA-2026:4074
https://access.redhat.com/errata/RHSA-2026:4075
https://access.redhat.com/errata/RHSA-2026:4110
https://access.redhat.com/errata/RHSA-2026:4254
https://access.redhat.com/errata/RHSA-2026:4441
https://access.redhat.com/errata/RHSA-2026:4475
https://access.redhat.com/errata/RHSA-2026:4504
https://access.redhat.com/errata/RHSA-2026:4505
https://access.redhat.com/errata/RHSA-2026:4506
https://access.redhat.com/errata/RHSA-2026:4509
https://access.redhat.com/errata/RHSA-2026:4515
https://access.redhat.com/errata/RHSA-2026:4516
https://access.redhat.com/errata/RHSA-2026:4518
https://access.redhat.com/errata/RHSA-2026:4524
https://access.redhat.com/errata/RHSA-2026:4528
https://access.redhat.com/errata/RHSA-2026:4544
https://access.redhat.com/errata/RHSA-2026:4546
https://access.redhat.com/errata/RHSA-2026:4547
https://access.redhat.com/errata/RHSA-2026:4548
https://access.redhat.com/errata/RHSA-2026:4943
https://access.redhat.com/errata/RHSA-2026:8756
https://access.redhat.com/security/cve/CVE-2026-2005
https://bugzilla.redhat.com/show_bug.cgi?id=2439326
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2005.json
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-2005 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

An Agent Skill that reviews and writes PostgreSQL/Supabase authentication code against a researched set of common and uncommon security mistakes - before it ships.

agent-skills agent-skills- authentication claude-code cloudflare codex cursor cybersecurity jwt postgres postgresql rls row-level-security security supabase

Shell

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : June 23, 2026, 12:55 p.m. This repo has been linked 6 different CVEs too.

CVE-2026 Docker vulnerability reproduction labs

Dockerfile Shell Python PowerShell PHP Java Lua JavaScript Handlebars

Updated: 2 weeks, 3 days ago
1 stars 0 fork 0 watcher
Born at : June 4, 2026, 7:29 a.m. This repo has been linked 25 different CVEs too.

None

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 23, 2026, 3:22 p.m. This repo has been linked 4 different CVEs too.

None

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 23, 2026, 3:22 p.m. This repo has been linked 1 different CVEs too.

Actively exploited CVE scanners from CISA KEV + Twitter trends - Drupal SQLi, PAN-OS RCE, Android ADBD, GHE RCE, BeyondTrust, Defender, and more

Python

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 22, 2026, 8:42 p.m. This repo has been linked 11 different CVEs too.

May 2026 trending CVE scanners - PAN-OS, WordPress, BeyondTrust, GHE, ingress-nginx

Python

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 22, 2026, 7:34 p.m. This repo has been linked 20 different CVEs too.

Audit CVE impact, patch status, remediation progress, and verification results across systems.

Makefile Go

Updated: 1 month ago
3 stars 2 fork 2 watcher
Born at : May 16, 2026, 2:19 a.m. This repo has been linked 25 different CVEs too.

PoC for CVE-2026-2005

Python

Updated: 1 month, 3 weeks ago
17 stars 1 fork 1 watcher
Born at : May 13, 2026, 3:29 p.m. This repo has been linked 1 different CVEs too.

A home lab vulnerabillity assessment using Nessus Essentials. Scanned a local network of 4 machines (Windows Server, Windows 10, Ubuntu Server, Kali Linux and documented findings using CVSS v3.0 severity scoring

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : May 13, 2026, 10:27 a.m. This repo has been linked 7 different CVEs too.

None

Shell

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : May 4, 2026, 5:37 p.m. This repo has been linked 1 different CVEs too.

Hands-on vulnerability assessment project using Tenable Nessus Essentials on a home lab environment

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 8:18 a.m. This repo has been linked 7 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 month ago
7810 stars 1261 fork 1261 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 718 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-2005 vulnerability anywhere in the article.

  • TheCyberThrone
CVE-2026-45659 — Microsoft SharePoint RCE

May 26, 2026OverviewDeserialization of untrusted data in Microsoft Office SharePoint allows an authenticated attacker to execute code remotely over a network. Any authenticated attacker with a minimum ... Read more

Published Date: May 26, 2026 (1 month, 1 week ago)
  • TheCyberThrone
CVE-2026-9082 – Drupal Core SQL Injection

May 24, 2026CVE-2026-9082 is a highly critical SQL injection vulnerability in Drupal core’s database abstraction API, specifically in the PostgreSQL EntityQuery condition handler. An unauthenticated, ... Read more

Published Date: May 24, 2026 (1 month, 2 weeks ago)
  • TheCyberThrone
CVE-2026-2005 | PostgreSQL pgcrypto — Heap Buffer Overflow

May 24, 2026Vulnerability SummaryCVE-2026-2005 is a heap buffer overflow vulnerability in the PostgreSQL pgcrypto extension. A ciphertext provider can trigger the overflow to execute arbitrary code as ... Read more

Published Date: May 24, 2026 (1 month, 2 weeks ago)
  • CybersecurityNews
PoC Exploit Released for 20-Year Old PostgreSQL RCE Vulnerability

A proof-of-concept (PoC) exploit has been publicly released for CVE-2026-2005, a critical remote code execution (RCE) vulnerability affecting PostgreSQL’s pgcrypto extension. The flaw, rooted in legac ... Read more

Published Date: May 20, 2026 (1 month, 2 weeks ago)
  • Daily CyberSecurity
PostgreSQL Fixes 5 Security Flaws Including Critical Code Execution Risks

The PostgreSQL Global Development Group has issued a critical alert for database administrators worldwide, releasing a comprehensive update to address five distinct security vulnerabilities. The patch ... Read more

Published Date: Feb 18, 2026 (4 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2026-2005 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jun. 30, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:/o:redhat:enterprise_linux_eus:10.0'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream EUS (v. 10.0)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:10.1', 'cpe:/o:redhat:enterprise_linux:10.2'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream (v. 10)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:8::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream (v. 8)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_aus:8.2::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream AUS (v. 8.2)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_aus:8.4::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream AUS (v.8.4)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus_long_life:8.4::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_aus:8.6::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream AUS (v.8.6)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_e4s:8.6::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream E4S (v.8.6)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_tus:8.6::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream TUS (v.8.6)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_e4s:8.8::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream E4S (v.8.8)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_tus:8.8::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream TUS (v.8.8)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_e4s:9.0::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream E4S (v.9.0)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_e4s:9.2::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream E4S (v.9.2)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream EUS (v.9.4)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream EUS (v.9.6)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::appstream'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux AppStream (v. 9)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux_eus:10.0'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:10.1', 'cpe:/o:redhat:enterprise_linux:10.2'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux CodeReady Linux Builder (v. 10)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.4::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat CodeReady Linux Builder EUS (v.9.4)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhel_eus:9.6::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat CodeReady Linux Builder EUS (v.9.6)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:enterprise_linux:9::crb'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:hummingbird:1'], 'vendor': 'Red Hat', 'product': 'Red Hat Hardened Images', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/a:redhat:rhui:5::el9'], 'vendor': 'Red Hat', 'product': 'Red Hat Update Infrastructure 5', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:6'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 6', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:7'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 7', 'defaultStatus': 'affected'}, {'cpes': ['cpe:/o:redhat:enterprise_linux:9'], 'vendor': 'Red Hat', 'product': 'Red Hat Enterprise Linux 9', 'defaultStatus': 'affected'}]
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-120
    Added Reference https://access.redhat.com/errata/RHSA-2026:19009
    Added Reference https://access.redhat.com/errata/RHSA-2026:19010
    Added Reference https://access.redhat.com/errata/RHSA-2026:3730
    Added Reference https://access.redhat.com/errata/RHSA-2026:3887
    Added Reference https://access.redhat.com/errata/RHSA-2026:3896
    Added Reference https://access.redhat.com/errata/RHSA-2026:4024
    Added Reference https://access.redhat.com/errata/RHSA-2026:4059
    Added Reference https://access.redhat.com/errata/RHSA-2026:4063
    Added Reference https://access.redhat.com/errata/RHSA-2026:4064
    Added Reference https://access.redhat.com/errata/RHSA-2026:4074
    Added Reference https://access.redhat.com/errata/RHSA-2026:4075
    Added Reference https://access.redhat.com/errata/RHSA-2026:4110
    Added Reference https://access.redhat.com/errata/RHSA-2026:4254
    Added Reference https://access.redhat.com/errata/RHSA-2026:4441
    Added Reference https://access.redhat.com/errata/RHSA-2026:4475
    Added Reference https://access.redhat.com/errata/RHSA-2026:4504
    Added Reference https://access.redhat.com/errata/RHSA-2026:4505
    Added Reference https://access.redhat.com/errata/RHSA-2026:4506
    Added Reference https://access.redhat.com/errata/RHSA-2026:4509
    Added Reference https://access.redhat.com/errata/RHSA-2026:4515
    Added Reference https://access.redhat.com/errata/RHSA-2026:4516
    Added Reference https://access.redhat.com/errata/RHSA-2026:4518
    Added Reference https://access.redhat.com/errata/RHSA-2026:4524
    Added Reference https://access.redhat.com/errata/RHSA-2026:4528
    Added Reference https://access.redhat.com/errata/RHSA-2026:4544
    Added Reference https://access.redhat.com/errata/RHSA-2026:4546
    Added Reference https://access.redhat.com/errata/RHSA-2026:4547
    Added Reference https://access.redhat.com/errata/RHSA-2026:4548
    Added Reference https://access.redhat.com/errata/RHSA-2026:4943
    Added Reference https://access.redhat.com/errata/RHSA-2026:8756
    Added Reference https://access.redhat.com/security/cve/CVE-2026-2005
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2439326
    Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2005.json
  • CVE Modified by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'n/a', 'product': 'PostgreSQL', 'versions': [{'status': 'affected', 'version': '18', 'lessThan': '18.2', 'versionType': 'rpm'}, {'status': 'affected', 'version': '17', 'lessThan': '17.8', 'versionType': 'rpm'}, {'status': 'affected', 'version': '16', 'lessThan': '16.12', 'versionType': 'rpm'}, {'status': 'affected', 'version': '15', 'lessThan': '15.16', 'versionType': 'rpm'}, {'status': 'affected', 'version': '0', 'lessThan': '14.21', 'versionType': 'rpm'}], 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-2005', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-02-13T04:56:32.671453Z'}
  • Initial Analysis by [email protected]

    Feb. 20, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 18.0 up to (excluding) 18.2 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.21 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.16 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 16.0 up to (excluding) 16.12 *cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* versions from (including) 17.0 up to (excluding) 17.8
    Added Reference Type PostgreSQL: https://www.postgresql.org/support/security/CVE-2026-2005/ Types: Vendor Advisory
  • New CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    Feb. 12, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-122
    Added Reference https://www.postgresql.org/support/security/CVE-2026-2005/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.