Description
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.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Published: 2026-08-13
Score: 3.8 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PostgreSQL’s ECPG interface contains an integer underflow that the database server can exploit by sending a bytea value that lacks the required prefix. The client incorrectly calculates a size and overwrites a large region of memory with arbitrary bytes, typically delivering a segmentation fault. In uncommon cases the memory write could also affect other client data, providing a weak integrity impact. The result is a temporary denial of service against the ECPG client.

Affected Systems

All PostgreSQL releases older than 18.5, 17.11, 16.15, 15.19, and 14.24 are affected. Any client that uses the ECPG extension against a vulnerable server is at risk.

Risk and Exploitability

The CVSS score of 3.8 classifies the problem as low severity, and no EPSS score is available. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector requires a database server administrator or a privileged user who can send crafted queries; it does not require external network access. Exploitation results in a client crash rather than arbitrary code execution.

Generated by OpenCVE AI on August 13, 2026 at 14:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a supported PostgreSQL release (18.5 or later, 17.11 or later, 16.15 or later, 15.19 or later, or 14.24 or later) which applies the ECPG underflow fix.
  • Disallow the use of the ECPG client or remove the extension from applications that cannot be upgraded.
  • Configure application logging to detect unexpected client crashes and alert administrators promptly.

Generated by OpenCVE AI on August 13, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql

Thu, 13 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Title PostgreSQL ECPG integer underflow can crash the client
Weaknesses CWE-191
References
Metrics cvssV3_1

{'score': 3.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L'}


Subscriptions

Postgresql Postgresql
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-08-13T15:38:45.795Z

Reserved: 2026-07-20T01:55:34.563Z

Link: CVE-2026-16241

cve-icon Vulnrichment

Updated: 2026-08-13T15:38:39.642Z

cve-icon NVD

Status : Received

Published: 2026-08-13T13:17:46.670

Modified: 2026-08-13T16:17:58.200

Link: CVE-2026-16241

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T14:45:03Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)