{"id":"CVE-2026-14676","aliases":["CVE-2026-14676","BIT-POSTGRESQL-2026-14676"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL pg_stat_statements heap buffer overflow executes arbitrary code","summary":"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.6 are affected.  Versions before PostgreSQL 18 are unaffected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.6 are affected.  Versions before PostgreSQL 18 are unaffected.","source":"cvelist"}],"published":"2026-08-13T13:00:07.385Z","modified":"2026-09-08T08:48:04.906Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.6","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"18.0","fixed":"18.5"}],"vendor":"postgresql","product":"postgresql","cpe":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.5.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-14676/","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14676","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Sajeeb Lohani (with TrendAI Zero Day Initiative), Yuelin Wang, and David Korczynski (Claude and Ada Logics) for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-13T14:41:48.435Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-14676","url":"https://www.cve.org/CVERecord?id=CVE-2026-14676","licence":"CVE Terms of Use","modified":"2026-08-29T23:07:19.805Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-14676","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14676","licence":"Public domain","modified":"2026-08-29T23:17:15.423Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-14676","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-14676","licence":"Apache-2.0","modified":"2026-09-08T08:48:04.906Z"}],"updatedAt":"2026-11-25T22:59:32.715Z","epss":{"score":0.00436,"percentile":0.39616,"date":"2026-12-01T12:00:22.000Z"}}