Skip to main content

PostgreSQL CVE-2026-2006

HIGH
Improper Validation of Array Index (CWE-129)
2026-02-12 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
8.8
CVSS 3.1 · Vendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticated database user crafts query
  2. Exploit
    Exploit multibyte character length validation gap
  3. Execution
    Trigger buffer overrun in text manipulation
  4. Impact
    Execute arbitrary code as database OS user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Authenticated database user account required. Affects PostgreSQL versions before 18.2, 17.8, 16.12, 15.16, and 14.21. Vulnerability exists in text manipulation functions processing multibyte characters without proper length validation.

Impact

CVSS 8.8 (HIGH). Attack vector: Network. Complexity: Low. Privileges required: Low. User interaction: None.

Exploit ScenarioDerived

An attacker could exploit this vulnerability to compromise the affected system.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 12, 2026

Arbitrary code execution in PostgreSQL results from insufficient validation of multibyte character lengths in text manipulation functions, allowing authenticated database users to trigger buffer overflows and execute commands with database process privileges. 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 all versions before 18.2. No patch is currently available, leaving databases vulnerable to privilege escalation attacks from database-level users.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 22:02 CVSS 8.8

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. [CVSS 8.8 HIGH]

RemediationAI

Monitor vendor advisories for a patch. Restrict network access to the affected service where possible.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Classified as CWE-129 (Improper Validation of Array Index). Affects Postgresql. Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices 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.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 8.8 HIGH

Primary rating from Vendor (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007).

CVSS VectorVendor: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 09, 2026 - 14:30 nvd
Patch available
CVE Published
Feb 12, 2026 - 14:16 nvd
HIGH 8.8

DescriptionCVE.org

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices 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.

Executive ViewAI

Why It Matters

CVE-2026-2006 is a critical PostgreSQL vulnerability that allows authenticated database users to execute arbitrary code with operating system privileges through specially crafted text queries. This directly threatens the confidentiality, integrity, and availability of all systems relying on affected PostgreSQL instances, with potential for complete infrastructure compromise.

Business Impact: Severe
Compensating Controls

Until patch availability: (1) Restrict database user privileges to minimum necessary permissions; (2) Implement network segmentation to limit database access from application servers only; (3) Deploy database activity monitoring and alerting on unusual query patterns; (4) Disable or restrict text manipulation functions if not operationally critical; (5) Monitor PostgreSQL security advisories hourly for patch release; (6) Increase authentication requirements for database access (MFA if supported).

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/manager/5.0/x86_64/server-migration-14-16:latest Affected
Container suse/manager/5.0/x86_64/server:latest Affected
Container suse/sl-micro/6.0/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.1/base-os-container:2.2.1-5.40 Affected
Container suse/sl-micro/6.0/toolbox:latest Affected

References

Advisories & patches
ADVISORY https://access.redhat.com/errata/RHSA-2026:3730 ADVISORY https://access.redhat.com/errata/RHSA-2026:3887 ADVISORY https://access.redhat.com/errata/RHSA-2026:3896 ADVISORY https://access.redhat.com/errata/RHSA-2026:4024 ADVISORY https://access.redhat.com/errata/RHSA-2026:4059 ADVISORY https://access.redhat.com/errata/RHSA-2026:4063 ADVISORY https://access.redhat.com/errata/RHSA-2026:4064 ADVISORY https://access.redhat.com/errata/RHSA-2026:4074 ADVISORY https://access.redhat.com/errata/RHSA-2026:4075 ADVISORY https://access.redhat.com/errata/RHSA-2026:4110 ADVISORY https://access.redhat.com/errata/RHSA-2026:4254 ADVISORY https://access.redhat.com/errata/RHSA-2026:4441 ADVISORY https://access.redhat.com/errata/RHSA-2026:4475 ADVISORY https://access.redhat.com/errata/RHSA-2026:4504 ADVISORY https://access.redhat.com/errata/RHSA-2026:4505 ADVISORY https://access.redhat.com/errata/RHSA-2026:4506 ADVISORY https://access.redhat.com/errata/RHSA-2026:4509 ADVISORY https://access.redhat.com/errata/RHSA-2026:4515 ADVISORY https://access.redhat.com/errata/RHSA-2026:4516 ADVISORY https://access.redhat.com/errata/RHSA-2026:4518 ADVISORY https://access.redhat.com/errata/RHSA-2026:4524 ADVISORY https://access.redhat.com/errata/RHSA-2026:4528 ADVISORY https://access.redhat.com/errata/RHSA-2026:4544 ADVISORY https://access.redhat.com/errata/RHSA-2026:4546 ADVISORY https://access.redhat.com/errata/RHSA-2026:4547 ADVISORY https://access.redhat.com/errata/RHSA-2026:4548 ADVISORY https://access.redhat.com/errata/RHSA-2026:4943 ADVISORY https://vuldb.com/vuln/345770 ADVISORY https://www.postgresql.org/support/security/CVE-2026-2006/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0584/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0585/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0586/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0588/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0614/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0615/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0616/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0768/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0769/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0770/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0771/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0784/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0785/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0786/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0787/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0881/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0882/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0883/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20587/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20588/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20906/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20921/ REF https://access.redhat.com/errata/RHSA-2026:19009 REF https://access.redhat.com/errata/RHSA-2026:19010 REF https://access.redhat.com/errata/RHSA-2026:8756 REF https://access.redhat.com/security/cve/CVE-2026-2006 REF https://bugzilla.redhat.com/show_bug.cgi?id=2439324 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2006.json

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy