{"id":"UBUNTU-CVE-2026-46374","details":"SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.2.0, in deployments where untrusted users can provide SQL queries to be linted, an untrusted user can submit a malicious long query to any application using the parser to trigger a Denial of Service through resource exhaustion. This issue has been patched in version 4.2.0.","modified":"2026-06-12T09:04:19.596574090Z","published":"2026-06-09T23:16:00Z","upstream":["CVE-2026-46374"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-46374"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-46374"},{"type":"REPORT","url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7"}],"affected":[{"package":{"name":"sqlfluff","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/sqlfluff?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-2","2.3.5-1"],"ecosystem_specific":{"binaries":[{"binary_name":"sqlfluff","binary_version":"2.3.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"}},{"package":{"name":"sqlfluff","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/sqlfluff?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"sqlfluff","binary_version":"3.3.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"}},{"package":{"name":"sqlfluff","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/sqlfluff?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1","3.4.2-2","3.5.0-1","3.5.0-1ubuntu1","3.5.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.0-2","binary_name":"sqlfluff"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}