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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-14676— PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code

Quick assessment

Affected
n/a PostgreSQL
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PostgreSQL是PostgreSQL组织开源的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL 18.5之前版本存在缓冲区错误漏洞,该漏洞源于pg_stat_statements在处理包含数组常量的特制查询时存在堆缓冲区溢出,可能导致查询作者以运行数据库的操作系统用户身份执行任意代码。

CVSS 8.8 · High EPSS 0.43% · P35

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
n/a PostgreSQL 18< 18.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-14676

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 pg_stat_statements heap buffer overflow executes arbitrary code
Source: CVE Program / CVE List V5
Vulnerability Description
Heap buffer overflow in PostgreSQL pg_stat_statements allows the query author to execute arbitrary code as the operating system user running the database, via crafted queries containing array constants. Within major version 18, minor versions before PostgreSQL 18.5 are affected. Versions before PostgreSQL 18 are unaffected.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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之前版本存在缓冲区错误漏洞,该漏洞源于pg_stat_statements在处理包含数组常量的特制查询时存在堆缓冲区溢出,可能导致查询作者以运行数据库的操作系统用户身份执行任意代码。
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

Vendor Product Affected Versions CPE Subscribe
- PostgreSQL 18 ~ 18.5 -

II. Public POCs for CVE-2026-14676

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-14676

登录查看更多情报信息。

Vendor Advisories for CVE-2026-14676 (1)

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

CVE-2026-14680 8.8 HIGH PostgreSQL type confusion via "internal" arguments
CVE-2026-14671 8.8 HIGH PostgreSQL refint plan cache type confusion executes arbitrary code
CVE-2026-19385 8.8 HIGH PostgreSQL pg_dump heap buffer overflow executes arbitrary code
CVE-2026-18408 8.8 HIGH PostgreSQL psql \unrestrict lets superuser of pg_dump origin server execute arbitrary code
CVE-2026-16239 8.8 HIGH PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code
CVE-2026-16238 8.8 HIGH PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
CVE-2026-15742 8.8 HIGH PostgreSQL fuzzystrmatch writes effectively-arbitrary addresses, via integer wraparound
CVE-2026-15741 8.8 HIGH PostgreSQL expression deparse allows SQL injection via EXTRACT argument
CVE-2026-14677 8.8 HIGH PostgreSQL 32-bit pltcl and plperl undersize allocations, via integer wraparound
CVE-2026-14670 8.8 HIGH PostgreSQL plperl tied object heap buffer overflow executes arbitrary code
CVE-2026-14669 8.8 HIGH PostgreSQL to_char heap buffer overflow executes arbitrary code
CVE-2026-14664 8.8 HIGH PostgreSQL regexp heap buffer overflow executes arbitrary code
CVE-2026-14662 8.8 HIGH PostgreSQL tsvector and tsquery undersize allocations, via integer wraparound
CVE-2026-14679 8.2 HIGH PostgreSQL stack buffer overflow in argument match writes 0x0 and 0x1 to server memory
CVE-2026-14668 8.1 HIGH PostgreSQL ctid type confusion in selectivity estimator discloses derivative of arbitrary
CVE-2026-6464 8.1 HIGH PostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands
CVE-2026-6471 7.2 HIGH PostgreSQL logical decoding can dlopen arbitrary file
CVE-2026-14663 6.5 MEDIUM PostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from
CVE-2026-14672 5.3 MEDIUM PostgreSQL observable response discrepancy with non-default scram_iterations provides user
CVE-2026-14678 4.3 MEDIUM PostgreSQL pg_trgm picksplit reads past end of buffer

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-14676

No comments yet


Leave a comment