REDHAT-BUG-2572580: High severity PostgreSQL postgresql vulnerability
Integer wraparound in PostgreSQL in-memory tuple-size calculations allows a database user to execute arbitrary code as the operating system user running the database, via oversized tuple data. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.16 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.20 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.25
Event History
Frequently Asked Questions
What level of access does an attacker need?
The attacker must be a database user and must be able to supply oversized tuple data. Successful exploitation can execute code as the operating system user running PostgreSQL.
Which update versions address the issue?
Upgrade to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25, as applicable to the major version in use. Earlier versions are affected.
What is the impact if exploitation succeeds?
An attacker can execute arbitrary code with the privileges of the operating system account that runs the database service.