Julianhille MuhammaraJS
Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-476
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
julianhille MuhammaraJS
- < 6.0.5
Fixed in 6.0.5
Mitigation
Upgrade MuhammaraJS to 6.0.5 or later.
References
- Vendor advisory github.com/julianhille/MuhammaraJS/security/ad…
- Patch github.com/julianhille/MuhammaraJS/commit/a98c…
- Release notes github.com/julianhille/MuhammaraJS/releases/ta…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.