What’s Vulnerable › Vulnerabilities

CVE-2023-5869: Postgresql: buffer overrun from integer overflow in array modification

Description

A flaw was found in PostgreSQL that allows authenticated database users to execute arbitrary code through missing overflow checks during SQL array value modification. This issue exists due to an integer overflow during array modification where a remote user can trigger the overflow by providing specially crafted data. This enables the execution of arbitrary code on the target system, allowing users to write arbitrary bytes to memory and extensively read the server's memory.

Affected products

How to fix

Upgrade to a fixed version: PostgreSQL 11.22, 12.17, 13.13, 14.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-5869 or the next vulnerability affects your stack