CVE-2026-116740
libcss through 0.9.2 NULL Pointer Dereference via Media-Query Parser
- State
- Published
- Severity
- 7.1 High
- Published
- Oct 26, 2026
- Updated
- Oct 26, 2026
- Reserved
- Oct 26, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-476 NULL Pointer Dereference
Affected Products
| Product | Versions |
|---|---|
libcssnetsurf-browser |
|
References
- Patch Commitpatch
- https://github.com/netsurf-browser/libcssproduct
- https://github.com/netsurf-browser/libcss/blob/release/0.9.2/src/parse/mq.c#L984technical-description
- https://hackmd.io/@haindpwn/libcss-media-list-null-derefthird-party-advisory
- VulnCheck Advisory: libcss through 0.9.2 NULL Pointer Dereference via Media-Query Parserthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.