CVE-2026-16241: PostgreSQL ECPG integer underflow can crash the client
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PostgreSQL ECPGto a version that resolves this vulnerability.Fixed in 18.5 - Upgrade
Upgrade
PostgreSQL ECPGto a version that resolves this vulnerability.Fixed in 17.11 - Upgrade
Upgrade
PostgreSQL ECPGto a version that resolves this vulnerability.Fixed in 16.15 - Upgrade
Upgrade
PostgreSQL ECPGto a version that resolves this vulnerability.Fixed in 15.19 - Upgrade
Upgrade
PostgreSQL ECPGto a version that resolves this vulnerability.Fixed in 14.24
Event History
Frequently Asked Questions
What is the severity of CVE-2026-16241?
The severity of CVE-2026-16241 is classified as low with a score of 3.8.
How does CVE-2026-16241 affect PostgreSQL users?
CVE-2026-16241 can crash the ECPG client, causing a temporary denial of service for users.
What is the risk associated with CVE-2026-16241?
CVE-2026-16241 poses a risk level of 26, indicating a low impact vulnerability.
What is the main cause of CVE-2026-16241?
The main cause of CVE-2026-16241 is an integer underflow in the PostgreSQL ECPG module.
How can I mitigate the risks of CVE-2026-16241?
To mitigate the risks of CVE-2026-16241, ensure to use a patched version of PostgreSQL that addresses this vulnerability.