
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-2006 is a buffer overflow vulnerability in PostgreSQL caused by missing validation of multibyte character length during text manipulation operations. An authenticated database user can issue crafted queries that trigger a buffer overrun, enabling arbitrary code execution as the operating system user running the database process. Affected versions include PostgreSQL 14.x before 14.21, 15.x before 15.16, 16.x before 16.12, 17.x before 17.8, and 18.x before 18.2. The vulnerability was disclosed on February 12, 2026, and carries a CVSS v3.1 base score of 8.8 (High) (Red Hat Bugzilla, PostgreSQL Advisory).
The root cause is improper validation of array index and specified index/position/offset in input (CWE-129, CWE-1285) — specifically, PostgreSQL fails to validate the length of multibyte characters during text manipulation, allowing a crafted input to overflow a buffer. The attack vector is network-accessible (AV:N), requires low privileges (an authenticated database account), and has low attack complexity with no user interaction required. Patch commits are available in the PostgreSQL git repository, confirming the fix involves adding proper bounds checking for multibyte character lengths in text processing routines (PostgreSQL git, Red Hat Bugzilla). A technical deep-dive related to the broader PostgreSQL RCE vulnerability class (including CVE-2026-2005) was published by Zeroday Cloud (Zeroday Cloud Blog).
Successful exploitation allows an authenticated database user to execute arbitrary code with the privileges of the operating system account running the PostgreSQL service, typically the postgres system user. This results in complete compromise of confidentiality (unauthorized access to all database data and OS-level files accessible to the service account), integrity (ability to modify or delete data and files), and availability (potential denial of service or system disruption). Depending on the deployment environment, this could enable lateral movement to other systems or services accessible from the database host (Red Hat Bugzilla, PostgreSQL Advisory).
As of the time of reporting, there is no public proof-of-concept exploit and no confirmed in-the-wild exploitation (Feedly). The EPSS score is approximately 0.064%, indicating a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the vulnerability was noted in media coverage as part of a class of long-standing PostgreSQL bugs discovered with AI-assisted research, which may increase researcher and attacker interest (CSO Online, HackRead).
psql or a compatible client.postgres), enabling reverse shell establishment, data exfiltration, or further system compromise (Red Hat Bugzilla, PostgreSQL Advisory).postgresql.log) showing crashes, segmentation faults, or unexpected errors in text processing functions; repeated failed or unusual query patterns involving multibyte text functions from a single user or session./bin/bash, sh, curl, wget, python) visible via ps or process monitoring tools.postgres OS user, including unexpected scripts, binaries, or cron jobs; web shells or backdoors if the PostgreSQL host also runs a web server.The primary remediation is to upgrade PostgreSQL to the fixed versions: 18.2, 17.8, 16.12, 15.16, or 14.21, depending on the currently deployed branch (PostgreSQL Advisory, PostgreSQL Release News). Red Hat has issued multiple errata (RHSA-2026:3730, RHSA-2026:3887, RHSA-2026:3896, and others) for RHEL 8, 9, and 10 (Red Hat Bugzilla). Ubuntu (USN-8072-1), SUSE, Debian, and Amazon Linux have also released patches. As a temporary workaround where patching is not immediately possible, restrict database connectivity to only trusted services and implement strict access controls to limit which users can execute text manipulation queries. IBM has also released fixes for affected products including API Connect and Business Automation Insights (IBM Advisory).
The vulnerability received notable media attention as part of a broader story about AI-assisted discovery of long-standing bugs in PostgreSQL and MariaDB, with coverage from CSO Online and InfoWorld highlighting that these were approximately 20-year-old code paths (CSO Online, InfoWorld). Security blog thebuild.com published a technical post examining the pgcrypto-related RCE class, and Zeroday Cloud provided a deep-dive analysis (The Build Blog, Zeroday Cloud Blog). Community discussion appeared on Hacker News and Reddit (r/prtg), with PRTG users specifically raising concerns about the impact on their deployments. The PostgreSQL project responded promptly with coordinated releases across all supported major versions.
Fix availability across major Linux distributions and their releases.
bookworm
postgresql-15: 15.16-0+deb12u1
sid
postgresql-18: 18.2-1
trixie
postgresql-17: 17.8-0+deb13u1
bionic (esm-infra)
postgresql-10
devel
postgresql-18
focal (esm-infra)
postgresql-12
jammy
postgresql-14: 14.22-0ubuntu0.22.04.1
noble
postgresql-16: 16.13-0ubuntu0.24.04.1
questing
postgresql-17: 17.9-0ubuntu0.25.10.1
resolute
postgresql-18
trusty (esm-infra-legacy)
postgresql-9.3
RHEL 8
:appstream:postgresql:12:8100020260302082007:489197e6/pg_repack-0:12-8100020260302082007.489197e6.src
RHEL 9
:appstream:postgresql-0:13.23-1.el9_0.1.src
RHEL 10
postgresql16-0:16.13-1.el10_0.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."