CVE-2026-116740
libcss through 0.9.2 contains a NULL pointer dereference vulnerability in mq_parse_media_query()…
- Risk score
- 44/100
- CVSS
- 6.5 v3.1
- Exploit chance (30 days)
- 0.3%
- Published
- 26 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 cras…
- Affected
- See advisory
- Fix
- Apply the vendor's security update; see the linked advisory.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 6.5 medium
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/006ffc4096040da13690abc380e5f828ec08284d
- https://hackmd.io/@haindpwn/libcss-media-list-null-deref
- https://www.vulncheck.com/advisories/libcss-through-0.9.2-null-pointer-dereference-via-media-query-parser
Original 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.
Last activity 26 Oct 2026. Patch Forecast updates every hour.