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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116740.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.9.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "006ffc4096040da13690abc380e5f828ec08284d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-116740.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "66572105670021381154306244236723297821",
"length": 2016
},
"id": "CVE-2026-116740-5bc388b9",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/netsurf-browser/libcss/commit/006ffc4096040da13690abc380e5f828ec08284d",
"target": {
"file": "src/parse/mq.c",
"function": "mq_parse_media_query"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"28812439433127412697590068809967462435",
"25075718549374357712917061434917815388",
"323782200921262296710150938539403701582",
"233126067300159034290477082506419905515"
],
"threshold": 0.9
},
"id": "CVE-2026-116740-668d276f",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/netsurf-browser/libcss/commit/006ffc4096040da13690abc380e5f828ec08284d",
"target": {
"file": "src/parse/mq.c"
}
}
]
"2026-11-01T07:06:42Z"