{"schemaVersion":3,"id":"CVE-2026-14664","aliases":["ALPINE-CVE-2026-14664","UBUNTU-CVE-2026-14664","DEBIAN-CVE-2026-14664"],"status":"published","duplicateOf":null,"title":null,"description":"Heap buffer overflow in PostgreSQL regexp allows the query author to execute arbitrary code as the operating system user running the database, via text that would not pass encoding validation.  This shares heritage with CVE-2026-2006, but this case involved unanticipated data growth when round-tripped through pg_wchar.  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.","dates":{"published":"2026-08-13T13:00:03.074Z","modified":"2026-08-29T23:07:12.593Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00436,"percentile":0.36466,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00436},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00436,"percentile":0.36466}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00436,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00436,"percentile":0.36466}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"alpine","product":"postgresql16","name":"postgresql16","label":"postgresql16","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql16","purlType":"apk","versions":[{"text":"< 16.15-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 16.15-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql17","name":"postgresql17","label":"postgresql17","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql17","purlType":"apk","versions":[{"text":"< 17.11-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 17.11-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql18","name":"postgresql18","label":"postgresql18","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql18","purlType":"apk","versions":[{"text":"< 18.5-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.5-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"postgresql-15","name":"postgresql-15","label":"postgresql-15","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-15","purlType":"deb","versions":[{"text":"< 15.19-0+deb12u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 15.19-0+deb12u1","eol":null,"hubHref":null},{"vendor":"debian","product":"postgresql-17","name":"postgresql-17","label":"postgresql-17","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-17","purlType":"deb","versions":[{"text":"< 17.11-0+deb13u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 17.11-0+deb13u1","eol":null,"hubHref":null},{"vendor":"debian","product":"postgresql-18","name":"postgresql-18","label":"postgresql-18","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-18","purlType":"deb","versions":[{"text":"< 18.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-10","name":"postgresql-10","label":"postgresql-10","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-10","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-12","name":"postgresql-12","label":"postgresql-12","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-12","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-14","name":"postgresql-14","label":"postgresql-14","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-14","purlType":"deb","versions":[{"text":"< 14.24-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.24-0ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-16","name":"postgresql-16","label":"postgresql-16","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-16","purlType":"deb","versions":[{"text":"< 16.15-0ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 16.15-0ubuntu0.24.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-18","name":"postgresql-18","label":"postgresql-18","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-18","purlType":"deb","versions":[{"text":"< 18.6-0ubuntu0.26.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.6-0ubuntu0.26.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.3","name":"postgresql-9.3","label":"postgresql-9.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.5","name":"postgresql-9.5","label":"postgresql-9.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 14.0, < 14.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 15.0, < 15.19","noFixRecorded":false,"fixedIn":null},{"text":"≥ 16.0, < 16.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 17.0, < 17.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 18.0, < 18.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 14.0, < 14.24 | ≥ 15.0, < 15.19 | ≥ 16.0, < 16.15 | ≥ 17.0, < 17.11 | ≥ 18.0, < 18.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-14664/","label":"www.postgresql.org/support/security/CVE-2026-14664/","hostname":"www.postgresql.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-14664","label":"security.alpinelinux.org/vuln/CVE-2026-14664","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-14664","label":"ubuntu.com/security/CVE-2026-14664","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-14664","label":"www.cve.org/CVERecord?id=CVE-2026-14664","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/","label":"www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/","hostname":"www.postgresql.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8653-1","label":"ubuntu.com/security/notices/USN-8653-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-14664","label":"security-tracker.debian.org/tracker/CVE-2026-14664","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14664","label":"nvd.nist.gov/vuln/detail/CVE-2026-14664","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0347","OPENSUSE-SU-2026:11552-1","OPENSUSE-SU-2026:11553-1","OPENSUSE-SU-2026:11554-1","OPENSUSE-SU-2026:11555-1","OPENSUSE-SU-2026:11565-1","OPENSUSE-SU-2026:21699-1","OPENSUSE-SU-2026:21700-1","OPENSUSE-SU-2026:21701-1","OPENSUSE-SU-2026:21702-1","OPENSUSE-SU-2026:21703-1","RHSA-2026:67280","RHSA-2026:67491","RHSA-2026:67848","RHSA-2026:69607","RHSA-2026:69698","RHSA-2026:69876","RHSA-2026:69914","RHSA-2026:69923","RHSA-2026:69924","RHSA-2026:70186","RHSA-2026:70559","RHSA-2026:70602","RHSA-2026:70762","RHSA-2026:70763","RHSA-2026:70856","RHSA-2026:72281","RHSA-2026:72282","RHSA-2026:72283","RHSA-2026:72361","RHSA-2026:72362","RHSA-2026:72363","RHSA-2026:73912","SUSE-SU-2026:23577-1","SUSE-SU-2026:23578-1","SUSE-SU-2026:23579-1","SUSE-SU-2026:23580-1","SUSE-SU-2026:23582-1","SUSE-SU-2026:3793-1","SUSE-SU-2026:3794-1","SUSE-SU-2026:3940-1","SUSE-SU-2026:3941-1","SUSE-SU-2026:3942-1","SUSE-SU-2026:3943-1","SUSE-SU-2026:3944-1","SUSE-SU-2026:3963-1","SUSE-SU-2026:4013-1","SUSE-SU-2026:4014-1","SUSE-SU-2026:4015-1","SUSE-SU-2026:4016-1","SUSE-SU-2026:4017-1","SUSE-SU-2026:4018-1","USN-8653-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11552-1","OPENSUSE-SU-2026:11553-1","OPENSUSE-SU-2026:11554-1","OPENSUSE-SU-2026:11555-1","OPENSUSE-SU-2026:11565-1","OPENSUSE-SU-2026:21699-1","OPENSUSE-SU-2026:21700-1","OPENSUSE-SU-2026:21701-1","OPENSUSE-SU-2026:21702-1","OPENSUSE-SU-2026:21703-1","SUSE-SU-2026:23577-1","SUSE-SU-2026:23578-1","SUSE-SU-2026:23579-1","SUSE-SU-2026:23580-1","SUSE-SU-2026:23582-1","SUSE-SU-2026:3793-1","SUSE-SU-2026:3794-1","SUSE-SU-2026:3940-1","SUSE-SU-2026:3941-1","SUSE-SU-2026:3942-1","SUSE-SU-2026:3943-1","SUSE-SU-2026:3944-1","SUSE-SU-2026:3963-1","SUSE-SU-2026:4013-1","SUSE-SU-2026:4014-1","SUSE-SU-2026:4015-1","SUSE-SU-2026:4016-1","SUSE-SU-2026:4017-1","SUSE-SU-2026:4018-1","USN-8653-1"]},"timeline":[{"kind":"published","date":"2026-08-13T13:00:03.074Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-29T23:07:12.593Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:10:59.463Z","stale":false,"partial":false}}