Exploit database

Vulnerability

CVE-2026-2005

PostgreSQL pgcrypto heap buffer overflow executes arbitrary code

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · PostgreSQL

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

2 sources
var77/cve-2026-2005
GH-4db4e988dc24fd98bf70362dbb6c1e2cGitHubUnofficial GitHub sourcePreferred

PoC for CVE-2026-2005

2026-05-131 file · 27 stars
dinosn/cve-2026-2005
GH-85385d23da99063b2ff202aaec07791fGitHubUnofficial GitHub source

CVE-2026-2005 — PostgreSQL pgcrypto heap overflow RCE exploit

2026-05-054 files · 18 stars