{"schemaVersion":4,"id":"CVE-2026-116329","aliases":["DEBIAN-CVE-2026-116329","ALPINE-CVE-2026-116329","UBUNTU-CVE-2026-116329"],"status":"published","duplicateOf":null,"title":"PostgreSQL statistics import type confusion executes arbitrary code","description":"Type confusion in PostgreSQL statistics import allows a table maintainer to execute arbitrary code as the operating system user running the database, via nested SET DATA TYPE during conversion of values to import.  Within major version 18, minor versions before PostgreSQL 18.7 are affected.  Versions before PostgreSQL 18 are unaffected.","dates":{"published":"2026-11-12T14:15:16.818Z","modified":"2026-11-14T04:57:58.202Z","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":"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},{"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":"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}]},"epss":{"probability":0.00572,"percentile":0.48721,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-13T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00572,"percentile":0.48721}],"last30":[{"date":"2026-11-13T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0059,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00572,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00572,"percentile":0.48721}]},"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-843","name":"Access of Resource Using Incompatible Type","description":"The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/843.html"}],"affected":[{"vendor":"alpine","product":"postgresql15","name":"postgresql15","label":"postgresql15","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql15","purlType":"apk","versions":[{"text":"< 15.20-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"15.20-r0","endInclusive":false}}],"versionsText":"< 15.20-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql16","name":"postgresql16","label":"postgresql16","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql16","purlType":"apk","versions":[{"text":"< 16.16-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"16.16-r0","endInclusive":false}}],"versionsText":"< 16.16-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.12-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"17.12-r0","endInclusive":false}}],"versionsText":"< 17.12-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.7-r0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.7-r0","endInclusive":false}}],"versionsText":"< 18.7-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":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 18.7-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.7-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 18.7-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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"all"}}],"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":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","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,"bounds":{"kind":"all"}}],"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,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":14,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-116329/","label":"www.postgresql.org/support/security/CVE-2026-116329/","hostname":"www.postgresql.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-116329","label":"security-tracker.debian.org/tracker/CVE-2026-116329","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-116329","label":"security.alpinelinux.org/vuln/CVE-2026-116329","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-116329","label":"ubuntu.com/security/CVE-2026-116329","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-116329","label":"www.cve.org/CVERecord?id=CVE-2026-116329","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/","label":"www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/","hostname":"www.postgresql.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0633","OPENSUSE-SU-2026:12654-1","OPENSUSE-SU-2026:12655-1","RHSA-2026:100123","RHSA-2026:104831","RHSA-2026:104854","RHSA-2026:80584","RHSA-2026:99821"],"duplicates":[],"related":["OPENSUSE-SU-2026:12654-1","OPENSUSE-SU-2026:12655-1"]},"timeline":[{"kind":"published","date":"2026-11-12T14:15:16.818Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-14T04:57:58.202Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,88],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00572,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-14T04:57:58.202Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-14T04:57:58.202Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-14T04:57:58.202Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_alpine","date":"2026-11-14T04:57:58.202Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-14T04:57:58.202Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-13T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00572,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:39:05.797Z","stale":false,"partial":false}}