CVE-2026-18024: Buffer Over-read in PostgreSQL
CVE-2026-18024 is a buffer over-read vulnerability in the PostgreSQL ascii() SQL function. It allows a user with limited privileges to read up to 3 bytes beyond the allocated memory by supplying a crafted text value. This vulnerability affects multiple PostgreSQL versions prior to 18.6, 17.11, 16.15, 15.19, and 14.24. The issue is similar to a previously fixed vulnerability (CVE-2026-2006) but with less impact. The CVSS score is 4.3, indicating a medium severity level.
AI Analysis
Technical Summary
This vulnerability involves a buffer over-read in the ascii() function of PostgreSQL, which can disclose up to 3 bytes beyond the intended memory allocation when processing a crafted text input. It affects PostgreSQL versions before 18.6, 17.11, 16.15, 15.19, and 14.24. The vulnerability is of lower impact compared to a similar prior issue (CVE-2026-2006). The CVSS 3.1 base score is 4.3, reflecting limited confidentiality impact, no integrity or availability impact, and requiring network access with low complexity and low privileges.
Potential Impact
An attacker with limited privileges can exploit this vulnerability to read a small amount of memory beyond the allocated buffer, potentially disclosing sensitive information. There is no impact on data integrity or availability. The confidentiality impact is limited to a few bytes of memory disclosure.
Mitigation Recommendations
A fix is available in PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these or later versions to remediate this vulnerability. No additional mitigation steps are indicated.
CVE-2026-18024: Buffer Over-read in PostgreSQL
Description
CVE-2026-18024 is a buffer over-read vulnerability in the PostgreSQL ascii() SQL function. It allows a user with limited privileges to read up to 3 bytes beyond the allocated memory by supplying a crafted text value. This vulnerability affects multiple PostgreSQL versions prior to 18.6, 17.11, 16.15, 15.19, and 14.24. The issue is similar to a previously fixed vulnerability (CVE-2026-2006) but with less impact. The CVSS score is 4.3, indicating a medium severity level.
CVSS v3.1
Score 4.3medium
Affected software
PostgreSQL
pkg:deb/postgresql/postgresqlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a buffer over-read in the ascii() function of PostgreSQL, which can disclose up to 3 bytes beyond the intended memory allocation when processing a crafted text input. It affects PostgreSQL versions before 18.6, 17.11, 16.15, 15.19, and 14.24. The vulnerability is of lower impact compared to a similar prior issue (CVE-2026-2006). The CVSS 3.1 base score is 4.3, reflecting limited confidentiality impact, no integrity or availability impact, and requiring network access with low complexity and low privileges.
Potential Impact
An attacker with limited privileges can exploit this vulnerability to read a small amount of memory beyond the allocated buffer, potentially disclosing sensitive information. There is no impact on data integrity or availability. The confidentiality impact is limited to a few bytes of memory disclosure.
Mitigation Recommendations
A fix is available in PostgreSQL versions 18.6, 17.11, 16.15, 15.19, and 14.24 and later. Users should upgrade to these or later versions to remediate this vulnerability. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-07-28T01:59:49.926Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7dc619bf8831d5393e5400
Added to database: 08/13/2026, 13:26:49 UTC
Last enriched: 09/13/2026, 13:04:21 UTC
Last updated: 09/28/2026, 13:47:42 UTC
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.