# CVE-2026-116740: libcss through 0.9.2 NULL Pointer Dereference via Media-Query Parser

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-10-26T21:52:39.177Z
- Modified: 2026-10-31T03:17:16.763Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- netsurf-browser libcss: up to 0.9.2

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/netsurf-browser/libcss/commit/006ffc4096040da13690abc380e5f828ec08284d> (patch)
- <https://github.com/netsurf-browser/libcss> (product)
- <https://github.com/netsurf-browser/libcss/blob/release/0.9.2/src/parse/mq.c#L984> (technical-description)
- <https://hackmd.io/@haindpwn/libcss-media-list-null-deref> (third-party-advisory)
- <https://www.vulncheck.com/advisories/libcss-through-0.9.2-null-pointer-dereference-via-media-query-parser> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-116740](https://www.cve.org/CVERecord?id=CVE-2026-116740), CVE Terms of Use, modified 2026-10-31
- NVD: [CVE-2026-116740](https://nvd.nist.gov/vuln/detail/CVE-2026-116740), Public domain, modified 2026-10-31

---

Page: https://cve.day/CVE-2026-116740 · Whole record: https://cve.day/CVE-2026-116740.json · Rebuilt by cve.day 2026-11-25T22:59:47.303Z
