- Home
- Vulnerabilities
- CVE-2026-125107
CVE-2026-125107
Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
Medium
49/100
Summary
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 and versions
julianhille (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| MuhammaraJS | Versions not specified | — | CNA (vendor or assigner) |
npm (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| muhammara | before 6.0.5 (excluded) |
6.0.5 |
GitHub Advisory |
Fix
Upgrade — npm/muhammara 6.0.5official source
Source : GitHub Advisory
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
CERT-FR advisories
- GHSA-fhp4-pr5j-46m5 — Muhammara has a NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key 26 Jun 2026
References
- https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-fhp4-pr5j-46m5exploit
- https://github.com/julianhille/MuhammaraJS/commit/a98c07780241353334eb65bfca1df025f14be70bx_refsource_MISC
- https://github.com/julianhille/MuhammaraJS/releases/tag/6.0.5x_refsource_MISC
- https://github.com/julianhille/MuhammaraJSPACKAGE
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Weakness
- CWE-476 · Corruption mémoire