Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
Only affects MuhammaraJS 6.0.4 and earlier when parsing PDF streams that use LZWDecode without the EarlyChange key. Fixed in 6.0.5.
Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.
- Exploited
- No known exploitation
- Fix
- Fixed in 6.0.5
- Who is exposed
- Not reported
Do first: Upgrade to a fixed version: 6.0.5.
- Last modified
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 25/100 · provisional
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Unclear
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Muhammara, a Node.js and Electron module for modifying PDFs, has a null pointer dereference in its LZWDecode filter that an attacker can trigger remotely, without logging in, by supplying a crafted PDF to an application that processes untrusted files. Exploiting it crashes the application, causing a denial of service.
Read the original 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.
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.5/10CVSS 7.5
- No patch0/5No signal
What would change the score
- Would score about 70 if added to CISA KEV
- Would score about 65 if CISA's SSVC rates exploitation active
- Would score about 30 if advisories confirm default setups are exposed
What to do
Upgrade to a fixed version: 6.0.5.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- julianhille MuhammaraJS
fixed in 6.0.5
Evidence 3
- Advisory
- Repository
- Repository
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-125107
Is CVE-2026-125107 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
When a PDF stream uses the LZWDecode filter and its DecodeParms dictionary lacks the EarlyChange key, the library dereferences a null pointer and crashes with an access violation. The result is a denial of service, because the process stops when it reads that stream.Source: github.com
Which versions are affected by CVE-2026-125107?
MuhammaraJS: before 6.0.5.Source: cve.now feed data
Am I affected, and how do I check?
The advisory lists muhammara 6.0.4 and earlier as affected, and the bug only triggers on PDF streams that use LZWDecode with DecodeParms missing EarlyChange. To check, look at the installed muhammara or MuhammaraJS package version and inspect the PDFs being processed for that filter and parameter setup.Source: github.com
How do I fix CVE-2026-125107?
Upgrade to MuhammaraJS 6.0.5, which is the fixed version listed for this vulnerability.Source: github.com