Cloudanix VulnDB

CVE-2026-16241

Low · 3.8

CVSS

3.8

EPSS

0.3%

Published

Aug 13, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A database administrator can send specially crafted data that crashes applications using the PostgreSQL client library, causing brief outages until the programs are restarted.

Exploitation
Remote Authenticated
Attacker needs
High Privilege
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer underflow in ECPG client processing of malformed bytea values without the required prefix triggers an unbounded memory write of attacker-uncontrolled data, typically causing SIGSEGV and client crash with rare potential for limited integrity corruption.

Why it matters to the business

A database administrator can cause temporary unavailability of applications that use the ECPG client, interrupting dependent business processes until the client is restarted; the flaw affects all PostgreSQL versions prior to the listed fixes and carries rising but still low exploit probability.

How an attack unfolds

An attacker with database server administrator privileges crafts and sends a bytea value missing the mandatory prefix to an ECPG client; the client miscalculates the length due to integer underflow and performs a massive out-of-bounds write, resulting in a crash or, rarely, unintended data modification.

How to fix it

Upgrade PostgreSQL to 18.6, 17.11, 16.15, 15.19, or 14.24 or later on all affected systems; rebuild and redeploy any ECPG-dependent client applications against the patched libraries.

How to confirm the fix worked

Confirm the installed PostgreSQL server and client libraries report versions 18.6/17.11/16.15/15.19/14.24 or newer; re-test ECPG applications with known-malformed bytea inputs to verify absence of crash or memory corruption.

Typical attack path

  1. Obtain or compromise database server administrator credentials
  2. Connect to a vulnerable ECPG client application
  3. Transmit a specially crafted bytea lacking the required prefix
  4. Trigger the integer underflow and subsequent large memory overwrite
  5. Observe client crash (SIGSEGV) or rare integrity side effects

How to detect it

Review PostgreSQL server logs and ECPG client application logs for repeated connection attempts or bytea transmissions immediately preceding crashes; look for SIGSEGV or segmentation fault entries in system logs on hosts running ECPG clients.

What your security team should do

  • Prioritize upgrade of all PostgreSQL instances to the fixed versions within normal change windows given the low EPSS and non-KEV status
  • Inventory and patch ECPG client deployments across the environment
  • Monitor for increasing EPSS trend and any new exploit maturity signals
  • Restrict database administrator access to the minimum necessary principals

The record

Integer underflow in PostgreSQL ECPG allows a database server administrator to achieve temporary denial of service against the ECPG client via sending a bytea value lacking the mandatory prefix. The client overwrites a huge memory region with bytes outside attacker knowledge or control. This typically yields a simple SIGSEGV, but rare cases might achieve client-specific integrity impact via the write. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities