Vulnerability Description
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 @import media list has a trailing comma, causing NetSurf or other parsers to crash.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/netsurf-browser/libcss
- https://github.com/netsurf-browser/libcss/blob/release/0.9.2/src/parse/mq.c#L984
- https://github.com/netsurf-browser/libcss/commit/006ffc4096040da13690abc380e5f82
- https://hackmd.io/@haindpwn/libcss-media-list-null-deref
- https://www.vulncheck.com/advisories/libcss-through-0.9.2-null-pointer-dereferen
FAQ
What is CVE-2026-116740?
CVE-2026-116740 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 c...
How severe is CVE-2026-116740?
CVE-2026-116740 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-116740?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.