What’s Vulnerable › Vulnerabilities

CVE-2026-18024: PostgreSQL ascii() function reads past end of buffer

Description

Buffer over-read in PostgreSQL ascii() SQL function allows a user to disclose up to 3 bytes after the end of a specific allocation, via a crafted text value. This is the same class of defect that CVE-2026-2006 fixed, though this instance has less impact. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Affected products

How to fix

Upgrade to a fixed version: PostgreSQL 14.24, 15.19, 16.15, 17.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-18024 or the next vulnerability affects your stack