NULL pointer dereference in libcss media query parser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-476.
Summary
libcss through 0.9.2 contains a NULL pointer dereference (CWE-476) in mq_parse_media_query(). A remote attacker who serves a stylesheet whose @media or @import media list ends in a comma can crash consumers such as NetSurf or other parsers.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| netsurf-browser | libcss | up to 0.9.2 | — | No fix listed | CNA |
- libcss Vendornetsurf-browser Affected up to 0.9.2 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for libcss.
Written with Claude Haiku 5.5 from the sources below · 2026-10-31
Vendor assessments
Timeline
- 2026-10-26 Threatist record created from CVE-2026-116740
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-27 CVSS score added · Red Hat
- 2026-10-27 Alias added: GHSA-gmc2-wjcf-43vw
- 2026-10-27 Priority changed: MEDIUM → LOW
- 2026-10-31 CISA SSVC decision points changed
References
More netsurf-browser vulnerabilities
- TI-2015-06246 Out-of-bounds write in Libnsbmp CVSS 3.1HIGH 8.8
- TI-2015-06243 Out-of-bounds write in Libnsgif CVSS 3.1HIGH 8.8
- TI-2024-34321 An issue in NetSurf v.3.11 allows a remote attacker to execute arbitrary code via the dom_node_normalize function CVSS 3.1MEDIUM 6.5
- TI-2015-06245 Out-of-bounds read in Libnsbmp CVSS 3.1HIGH 7.5
- TI-2015-06244 Out-of-bounds read in Libnsgif CVSS 3.1MEDIUM 6.5
- TI-2025-28823 An issue in NetSurf v3.11 causes the application to read uninitialized heap memory when creating a dom_event structure. CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-116740 · CVE Program
- CVE-2026-116740 · NVD
- FIRST EPSS
- GHSA-gmc2-wjcf-43vw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-116740 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences