CVE-2026-16241
postgresql: PostgreSQL ECPG: Denial of Service via integer underflow
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 13, 2026
Updated · September 2, 2026
Description
A flaw was found in PostgreSQL ECPG. A highly privileged database server administrator can trigger an integer underflow by sending a specially crafted bytea value to the ECPG client. This vulnerability causes the client to overwrite a large memory region, leading to a temporary denial of service (DoS). In rare cases, this could also result in client-specific data integrity issues.
Statement
This Low impact flaw in PostgreSQL ECPG affects client applications. It requires a highly privileged database administrator to send a malformed bytea value, leading to an integer underflow and a temporary denial of service in the ECPG client. The limited scope to client-side disruption and the prerequisite of elevated server privileges contribute to its lower severity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this vulnerability, ensure that database server administrator privileges are tightly controlled and only granted to highly trusted individuals. Because exploiting this flaw requires an attacker to already have administrative control over the database server to target connecting ECPG clients, adhering to the principle of least privilege and maintaining strict access controls on server administration effectively neutralizes the risk.
CVSS / CWE
CVSS 3.1 · 3.8CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
CWE-191 · Integer Underflow (Wrap or Wraparound)