{"id":"UBUNTU-CVE-2026-112307","details":"(sqlparse through 0.6.0 contains a PHP code injection vulnerability tha ...)","modified":"2026-10-23T10:35:42.723071811Z","published":"2026-10-23T00:00:00Z","upstream":["CVE-2026-112307"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-112307"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-112307"}],"affected":[{"package":{"name":"sqlparse","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.1.13-2ubuntu2","0.1.18-1","0.1.18-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.1.18-1ubuntu0.1~esm1","binary_name":"pypy-sqlparse"},{"binary_name":"python-sqlparse","binary_version":"0.1.18-1ubuntu0.1~esm1"},{"binary_name":"python3-sqlparse","binary_version":"0.1.18-1ubuntu0.1~esm1"},{"binary_version":"0.1.18-1ubuntu0.1~esm1","binary_name":"sqlformat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.2-1","0.2.4-0.1","0.2.4-0.1ubuntu0.1","0.2.4-0.1ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.2.4-0.1ubuntu0.1+esm1","binary_name":"pypy-sqlparse"},{"binary_version":"0.2.4-0.1ubuntu0.1+esm1","binary_name":"python-sqlparse"},{"binary_name":"python3-sqlparse","binary_version":"0.2.4-0.1ubuntu0.1+esm1"},{"binary_version":"0.2.4-0.1ubuntu0.1+esm1","binary_name":"sqlformat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.2.4-1","0.2.4-1build1","0.2.4-2","0.2.4-3","0.2.4-3ubuntu0.1","0.2.4-3ubuntu0.1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"pypy-sqlparse","binary_version":"0.2.4-3ubuntu0.1+esm1"},{"binary_name":"python3-sqlparse","binary_version":"0.2.4-3ubuntu0.1+esm1"},{"binary_name":"sqlformat","binary_version":"0.2.4-3ubuntu0.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.1-1ubuntu1","0.4.2-1","0.4.2-1ubuntu0.22.04.1","0.4.2-1ubuntu0.22.04.2","0.4.2-1ubuntu0.22.04.3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.4.2-1ubuntu0.22.04.3","binary_name":"python3-sqlparse"},{"binary_version":"0.4.2-1ubuntu0.22.04.3","binary_name":"sqlformat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.2-1ubuntu1","0.4.4-1","0.4.4-1ubuntu0.1","0.4.4-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-sqlparse","binary_version":"0.4.4-1ubuntu0.2"},{"binary_name":"sqlformat","binary_version":"0.4.4-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1","0.5.5-2","0.5.5-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-sqlparse","binary_version":"0.5.5-2ubuntu1"},{"binary_version":"0.5.5-2ubuntu1","binary_name":"sqlformat"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}},{"package":{"name":"sqlparse","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/sqlparse?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3-1","0.5.4-1","0.5.4-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-sqlparse","binary_version":"0.5.4-1ubuntu0.1"},{"binary_name":"sqlformat","binary_version":"0.5.4-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-112307.json"}}],"schema_version":"1.9.2","severity":[{"type":"Ubuntu","score":"medium"}]}