Skip to content
OpenAdvisories
High · 7.5 CVE-2026-125107 EUVD-2026-120461GHSA-fhp4-pr5j-46m5

Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key

Published Nov 9, 2026 · Updated Nov 10, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
julianhille MuhammaraJS < 6.0.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm muhammara < 6.0.5 6.0.5 GHSA-fhp4-pr5j-46m5

References