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.
Published: 2026-10-26
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Denial of Service (crash via NULL pointer dereference)
Action: Patch Now
AI Analysis

Impact

The vulnerability is a NULL pointer dereference in libcss’s mq_parse_media_query function. When an @media or @import rule contains a media list that ends with a trailing comma, the parser dereferences an uninitialized pointer and crashes. An attacker can feed such a stylesheet to a consumer of libcss, causing a crash and a denial‑of‑service.

Affected Systems

libcss, used by the Netsurf browser and other consumers, is vulnerable in all releases up to and including 0.9.2. Any application that parses media lists with a trailing comma via this library is affected.

Risk and Exploitability

The CVSS score of 7.1 indicates moderate severity for a remote denial‑of‑service. Based on the description, it is inferred that the exploit does not require authentication or special privileges; a remote attacker can trigger a crash simply by delivering the malicious stylesheet. The EPSS score is unavailable, and the vulnerability is not yet listed in the KEV catalog, but the lack of a public exploit means the risk is realistic and should be mitigated.

Generated by OpenCVE AI on October 27, 2026 at 08:09 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libcss to a version newer than 0.9.2 that includes the media‑list parsing fix
  • If an upgrade is not possible, validate or sanitize media lists before handing them to libcss, removing any trailing commas to prevent the dereference
  • Implement monitoring and logging for unexpected crashes and consider quarantining affected instances to mitigate denial‑of‑service impacts

Generated by OpenCVE AI on October 27, 2026 at 08:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
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.
Title libcss through 0.9.2 NULL Pointer Dereference via Media-Query Parser
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T21:52:39.177Z

Reserved: 2026-10-26T20:23:36.353Z

Link: CVE-2026-116740

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-26T22:16:58.390

Modified: 2026-10-26T22:16:58.390

Link: CVE-2026-116740

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T08:15:15Z

Weaknesses