{"id":"CVE-2026-116740","title":"libcss through 0.9.2 NULL Pointer Dereference via Media-Query Parser","summary":"libcss through 0.9.2 contains a NULL pointer dereference vulnerability in mq_parse_media_query() that allows remote attackers to crash consumers by supplying media lists ending in a comma. Attackers can serve a stylesheet whose @media or…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cvssSource":"cna","cwe":["CWE-476"],"vendor":"netsurf-browser","product":"libcss","affected":["libcss <= 0.9.2"],"published":"2026-10-26","updated":"2026-10-26","sourceUpdated":"2026-10-26T21:52:39.177Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116740","references":[{"url":"https://github.com/netsurf-browser/libcss/commit/006ffc4096040da13690abc380e5f828ec08284d","label":"Patch Commit"},{"url":"https://github.com/netsurf-browser/libcss"},{"url":"https://github.com/netsurf-browser/libcss/blob/release/0.9.2/src/parse/mq.c#L984"},{"url":"https://hackmd.io/@haindpwn/libcss-media-list-null-deref"},{"url":"https://www.vulncheck.com/advisories/libcss-through-0.9.2-null-pointer-dereference-via-media-query-parser","label":"VulnCheck Advisory: libcss through 0.9.2 NULL Pointer Dereference via Media-Query Parser"}],"tags":["cve.org"],"epss":0.00327,"epssPercentile":0.25656,"ingestedAt":"2026-10-27T16:11:59.121Z","slug":"CVE-2026-116740","body":"## Overview\n\nlibcss through 0.9.2 contains a NULL pointer dereference vulnerability in mq_parse_media_query() that allows remote attackers to crash consumers by supplying media lists ending in a comma. Attackers can serve a stylesheet whose @media or @import media list has a trailing comma, causing NetSurf or other parsers to crash.\n\n## Affected\n\n- `libcss <= 0.9.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}