{"id":"CVE-2026-125107","summary":"Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key","details":"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.","aliases":["GHSA-fhp4-pr5j-46m5"],"modified":"2026-11-14T07:14:45.697010098Z","published":"2026-11-09T21:29:35.198Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125107.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/julianhille/MuhammaraJS/releases/tag/6.0.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125107.json"},{"type":"ADVISORY","url":"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-fhp4-pr5j-46m5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125107"},{"type":"FIX","url":"https://github.com/julianhille/MuhammaraJS/commit/a98c07780241353334eb65bfca1df025f14be70b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/julianhille/muhammarajs","events":[{"introduced":"0"},{"fixed":"a1741ba34bb61337016cd1a61b17d28b21a03dfc"},{"fixed":"a98c07780241353334eb65bfca1df025f14be70b"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"6.0.5"}]},{"range":[{"fixed":"a98c07780241353334eb65bfca1df025f14be70b"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"6.0.5","range":[{"fixed":"a1741ba34bb61337016cd1a61b17d28b21a03dfc"}]}]}}],"versions":["6.0.4","6.0.3","6.0.2","6.0.1-alpha","6.0.1","6.0.0","1.5.1","1.5.0","1.4.3","1.4.2","1.4.1","1.4.0","1.3.0","1.0.0-rc.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125107.json","vanir_signatures":[{"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":{"length":1967,"function_hash":"310414265178734100703418939444687421579"}},{"target":{"file":"src/deps/PDFWriter/PDFParser.cpp"},"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"}],"vanir_signatures_modified":"2026-11-14T07:14:45Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}