{"id":"DEBIAN-CVE-2026-120153","details":"SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings.  This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern.  Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.","modified":"2026-11-16T11:00:15.412008030Z","published":"2026-11-12T15:17:44.073Z","upstream":["CVE-2026-120153"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-120153"}],"affected":[{"package":{"name":"postgresql-15","ecosystem":"Debian:12","purl":"pkg:deb/debian/postgresql-15?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.20-0+deb12u1"}]}],"versions":["15.10-0+deb12u1","15.11-0+deb12u1","15.12-0+deb12u1","15.12-0+deb12u2","15.13-0+deb12u1","15.14-0+deb12u1","15.15-0+deb12u1","15.16-0+deb12u1","15.17-0+deb12u1","15.18-0+deb12u1","15.19-0+deb12u1","15.3-0+deb12u1","15.3-1","15.4-0+deb12u1","15.4-1","15.4-2","15.4-3","15.5-0+deb12u1","15.6-0+deb12u1","15.7-0+deb12u1","15.8-0+deb12u1","15.9-0+deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120153.json"}},{"package":{"name":"postgresql-17","ecosystem":"Debian:13","purl":"pkg:deb/debian/postgresql-17?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.12-0+deb13u1"}]}],"versions":["17.10-0+deb13u1","17.11-0+deb13u1","17.5-1","17.6-0+deb13u1","17.6-1","17.7-0+deb13u1","17.8-0+deb13u1","17.9-0+deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120153.json"}},{"package":{"name":"postgresql-18","ecosystem":"Debian:14","purl":"pkg:deb/debian/postgresql-18?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.7-1"}]}],"versions":["18.0-1","18.1-1","18.1-2","18.2-1","18.3-1","18.4-1","18.6-1","18.6-2","18.6-3","18~beta1+20250612-1","18~beta1+20250624-1","18~beta1+20250701-1","18~beta1-1","18~beta2-1","18~beta3-1","18~rc1-1","18~rc1-2","18~rc1-3","18~~devel.20250318+g4078da6c478-1","18~~devel.20250331-1","18~~devel.20250405-1","18~~devel.20250421-1","18~~devel.20250502-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-120153.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}