{"id":"USN-7128-1","summary":"pygments vulnerability","details":"Sebastian Chnelik discovered that Pygments had an inefficient regex query\nfor analyzing certain inputs. An attacker could possibly use this issue to\ncause a denial of service.\n","modified":"2026-02-10T04:45:56Z","published":"2024-11-26T13:43:18Z","related":["UBUNTU-CVE-2022-40896"],"upstream":["CVE-2022-40896","UBUNTU-CVE-2022-40896"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7128-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-40896"}],"affected":[{"package":{"name":"pygments","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pygments@2.11.2+dfsg-2ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.2+dfsg-2ubuntu0.1"}]}],"versions":["2.7.1+dfsg-2.1","2.10.0+dfsg-1","2.11.2+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pygments","binary_version":"2.11.2+dfsg-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7128-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2022-40896","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}]}}}],"schema_version":"1.7.3"}