CVE-2026-116740
libcss through 0.9.2 contains a NULL pointer dereference …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/netsurf-browser/libcss
- github.com/netsurf-browser/libcss/blob/release/0.9.2/src/parse/mq.c#L984
- github.com/netsurf-browser/libcss/commit/006ffc4096040da13690abc380e5f828ec08284d
- hackmd.io/@haindpwn/libcss-media-list-null-deref
- www.vulncheck.com/advisories/libcss-through-0.9.2-null-pointer-dereference-via-media-query
- nvd.nist.gov/vuln/detail/CVE-2026-116740
- cve.org/CVERecord?id=CVE-2026-116740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.