Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 4.3 · Medium EPSS 0.29% · P22

Possible ATT&CK Techniques 1AI

T1005 · Data from Local System

Affected Version Matrix 5

VendorProductVersion RangeStatus
n/aPostgreSQL18< 18.5affected
17< 17.11affected
16< 16.15affected
15< 15.19affected
< 14.24affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-18024

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PostgreSQL ascii() function reads past end of buffer
Source: CVE Program / CVE List V5
Vulnerability 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.5, 17.11, 16.15, 15.19, and 14.24 are affected.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
缓冲区上溢读取
Source: CVE Program / CVE List V5
Vulnerability Title
PostgreSQL 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PostgreSQL是PostgreSQL组织开源的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL 18.5之前版本、17.11之前版本、16.15之前版本、15.19之前版本和14.24之前版本存在缓冲区错误漏洞,该漏洞源于ascii() SQL函数存在缓冲区过度读取,通过特制文本值,可能导致用户泄露特定分配结束后的最多3字节信息。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
-PostgreSQL 18 ~ 18.5 -

II. Public POCs for CVE-2026-18024

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-18024

登录查看更多情报信息。

Vendor Advisories for CVE-2026-18024 (1)

Same Patch Batch · n/a · 2026-08-13 · 31 CVEs total

CVE-2026-146718.8 HIGHPostgreSQL refint plan cache type confusion executes arbitrary code
CVE-2026-162398.8 HIGHPostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code
CVE-2026-162388.8 HIGHPostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
CVE-2026-157428.8 HIGHPostgreSQL fuzzystrmatch writes effectively-arbitrary addresses, via integer wraparound
CVE-2026-184088.8 HIGHPostgreSQL psql \unrestrict lets superuser of pg_dump origin server execute arbitrary code
CVE-2026-157418.8 HIGHPostgreSQL expression deparse allows SQL injection via EXTRACT argument
CVE-2026-146808.8 HIGHPostgreSQL type confusion via "internal" arguments
CVE-2026-193858.8 HIGHPostgreSQL pg_dump heap buffer overflow executes arbitrary code
CVE-2026-146778.8 HIGHPostgreSQL 32-bit pltcl and plperl undersize allocations, via integer wraparound
CVE-2026-146768.8 HIGHPostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code
CVE-2026-146708.8 HIGHPostgreSQL plperl tied object heap buffer overflow executes arbitrary code
CVE-2026-146698.8 HIGHPostgreSQL to_char heap buffer overflow executes arbitrary code
CVE-2026-146648.8 HIGHPostgreSQL regexp heap buffer overflow executes arbitrary code
CVE-2026-146628.8 HIGHPostgreSQL tsvector and tsquery undersize allocations, via integer wraparound
CVE-2026-146798.2 HIGHPostgreSQL stack buffer overflow in argument match writes 0x0 and 0x1 to server memory
CVE-2026-64648.1 HIGHPostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands
CVE-2026-146688.1 HIGHPostgreSQL ctid type confusion in selectivity estimator discloses derivative of arbitrary
CVE-2026-64717.2 HIGHPostgreSQL logical decoding can dlopen arbitrary file
CVE-2026-146636.5 MEDIUMPostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from
CVE-2026-146725.3 MEDIUMPostgreSQL observable response discrepancy with non-default scram_iterations provides user

Showing top 20 of 31 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-18024

No comments yet


Leave a comment