{"id":"CVE-2026-18024","aliases":["CVE-2026-18024","BIT-POSTGRESQL-2026-18024"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL ascii() function reads past end of buffer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-13T13:00:14.322Z","modified":"2026-09-08T08:48:18.532Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-126"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.6","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.11","status":"affected"},{"type":"rpm","introduced":"16","fixed":"16.15","status":"affected"},{"type":"rpm","introduced":"15","fixed":"15.19","status":"affected"},{"type":"rpm","introduced":"0","fixed":"14.24","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"14.0","fixed":"14.24"},{"status":"affected","introduced":"15.0","fixed":"15.19"},{"status":"affected","introduced":"16.0","fixed":"16.15"},{"status":"affected","introduced":"17.0","fixed":"17.11"},{"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":"0","status":"affected","fixed":"14.24.0"},{"type":"semver","introduced":"15.0.0","status":"affected","fixed":"15.19.0"},{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.15.0"},{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.11.0"},{"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-18024/","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18024","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Hcamael for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-13T13:30:25.733Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-18024","url":"https://www.cve.org/CVERecord?id=CVE-2026-18024","licence":"CVE Terms of Use","modified":"2026-08-29T23:07:31.427Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-18024","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18024","licence":"Public domain","modified":"2026-08-29T23:17:20.390Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-18024","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-18024","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.532Z"}],"updatedAt":"2026-11-25T22:59:32.719Z","epss":{"score":0.00195,"percentile":0.09701,"date":"2026-12-01T12:00:22.000Z"}}