Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. Prior to 6.0.5, Muhammara PDFParser::CreateFilterForStream() in src/deps/PDFWriter/PDFParser.cpp dereferences a null PDFInteger pointer when a PDF stream uses the LZWDecode filter with a DecodeParms dictionary that omits the EarlyChange key. An application that processes an untrusted PDF and reads the affected stream can crash, causing a denial of service. This issue is fixed in version 6.0.5.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125107.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "6.0.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "a98c07780241353334eb65bfca1df025f14be70b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "6.0.5",
"range": [
{
"fixed": "a1741ba34bb61337016cd1a61b17d28b21a03dfc"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125107.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "310414265178734100703418939444687421579",
"length": 1967
},
"id": "CVE-2026-125107-339c07ec",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/julianhille/muhammarajs/commit/a98c07780241353334eb65bfca1df025f14be70b",
"target": {
"file": "src/deps/PDFWriter/PDFParser.cpp",
"function": "PDFParser::CreateFilterForStream"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"57893859695368507124146382952213695868",
"53127564606019973288611290257682548311",
"11557573434274459663502610561248264640",
"90425388057937684285045460454119367545"
],
"threshold": 0.9
},
"id": "CVE-2026-125107-959ed08d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/julianhille/muhammarajs/commit/a98c07780241353334eb65bfca1df025f14be70b",
"target": {
"file": "src/deps/PDFWriter/PDFParser.cpp"
}
}
]
"2026-11-14T07:14:45Z"