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

Published Oct 26, 2026
·
Updated

libcss through 0.9.2 contains a NULL pointer dereference vulnerability in mqparsemediaquery() 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.

Affected Software

1 affected component
NetSurf libcss<=0.9.2

Event History

Oct 26, 2026
CVE Published
via MITRE·09:52 PM
Data Sourced
via MITRE·09:52 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What input is required to trigger the crash?

An attacker must cause a libcss consumer to parse a stylesheet containing an @media or @import media list that ends with a trailing comma. This malformed media-query input reaches mq_parse_media_query() and triggers the NULL pointer dereference.

2

Who is exposed to this issue?

Applications that use affected libcss versions and parse attacker-controlled or remotely served stylesheets are exposed. The description specifically identifies NetSurf and other consumers of the library.

3

What is the practical impact of successful exploitation?

Successful exploitation crashes the consuming application, resulting in a denial of service. The supplied data does not indicate confidentiality or integrity impact.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203