CVE-2026-125107 Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
HighCVSS 7.5
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm muhammara(npm) | < 6.0.5; <= 6.0.4 | 6.0.5 | Fixed |
| julianhille MuhammaraJS | = < 6.0.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| julianhille MuhammaraJS | = < 6.0.5 | No fix listed |
| npm muhammara(npm) | <= 6.0.4 | No fix listed |
| npm muhammara(npm) | < 6.0.5 | 6.0.5 |
References
- https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-fhp4-pr5j-46m5 exploit vendor-advisory
- https://github.com/julianhille/MuhammaraJS/commit/a98c07780241353334eb65bfca1df025f14be70b patch
- https://github.com/julianhille/MuhammaraJS/releases/tag/6.0.5
- github.com
- github.com product
- ENISA EUVD EUVD-2026-120461 third-party-advisory