Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted LZWDecode PDF (missing EarlyChange)
-
DeliveryApplication reads affected stream
-
ExploitQueryDictionaryObject returns NULL for EarlyChange
-
ExecutionearlyObj->GetValue() dereferences NULL pointer
-
ImpactProcess crash / denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the application (1) accepts PDFs from untrusted sources and (2) actually reads or processes the affected stream's contents via muhammara (e.g., startReadingFromStream, content extraction, font embedding) - merely opening/parsing object headers without reading the stream is insufficient. The malicious trigger is fully attacker-controlled within the file: a stream with /Filter /LZWDecode and a /DecodeParms dictionary present but omitting the EarlyChange key. Limiting factors: the vulnerability is confined to code paths that read LZWDecode-filtered streams, affects muhammara <= 6.0.4, and the impact is limited to crashing the processing worker/process (availability only); there is no authentication barrier and no user interaction beyond supplying the file. |
| Impact | Signals are internally consistent for a network-reachable denial-of-service issue but not a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5 High) correctly reflects a remotely reachable, low-complexity flaw with no authentication or user interaction at the metric level, but impact is strictly availability (C:N/I:N) - this is a crash, not code execution or data exposure. The vuln.today Decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-bounded DoS. Working exploit material exists: the GHSA advisory references a 460-byte PoC PDF and the fix commit adds a full security test (tests/security/GHSA-fhp4-pr5j-46m5.js) that triggers the crash, so this should be treated as publicly exploitable. CISA KEV status is not indicated in the input (treat as not listed - no confirmed active exploitation), and no EPSS score was provided, so widespread automated exploitation cannot be quantified from this data. No SSVC decision point values (automatable, technical impact) were supplied beyond the vendor priority label. Net: a real, prioritize-this-week issue for anyone parsing untrusted PDFs with muhammara, but the ceiling is process disruption, not compromise - patch promptly rather than treating it as a code-execution emergency. |
| Exploit ScenarioDerived | An attacker submits a specially crafted ~460-byte PDF whose stream uses /Filter /LZWDecode with a /DecodeParms dictionary that omits the EarlyChange key to an application that uses muhammara to read PDF stream contents (e.g., a document-processing or conversion service). When the application reads the affected stream, CreateFilterForStream() dereferences a NULL PDFInteger and the process crashes with an access violation (0xC0000005), denying service. A working PoC and a committed security-test reproducer exist, so no novel exploit development is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Denial of service in muhammara (MuhammaraJS) 6.0.4 and earlier lets an unauthenticated remote attacker crash the host Node.js or Electron process by supplying a PDF whose stream declares /Filter /LZWDecode together with a /DecodeParms dictionary that omits the EarlyChange key. The crash only occurs when the application actually reads the affected stream contents (for example via startReadingFromStream, content extraction or font embedding), so merely opening the file or parsing object headers is not sufficient; the trigger is fully attacker-controlled inside the file. The issue is a NULL pointer dereference (CWE-476) rated CVSS 3.1 7.5 with availability-only impact, it is not listed in CISA KEV, and a public proof-of-concept that produces the crash (exit code 0xC0000005) shipped with the upstream advisory and regression test; vendor-released patch: 6.0.5, and the vuln.today decision label is this_week.
RemediationAI
Upgrade muhammara to version 6.0.5, which contains the upstream fix (commit a98c07780241353334eb65bfca1df025f14be70b) that adds a null check before dereferencing the EarlyChange integer; verify the change and confirm the patched behaviour against the advisory at https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-fhp4-pr5j-46m5 and the release notes at https://github.com/julianhille/MuhammaraJS/releases/tag/6.0.5. If upgrading is not immediately possible, the practical compensating controls are to pre-screen untrusted PDFs before they reach muhammara and reject any file whose stream dictionaries contain /LZWDecode (or any /DecodeParms dictionary lacking EarlyChange), accepting that such screening adds a parsing step and may reject legitimate LZW-compressed documents; and to run PDF processing in a disposable child process or worker that is supervised and restarted automatically so a crash costs a single job rather than the whole service, at the cost of added process-management complexity and loss of in-flight work. Input size limits and rate limiting reduce the practical impact of repeated crash attempts but do not remove the flaw. Note that simply avoiding stream reads is not a robust mitigation for applications that genuinely need content extraction or font embedding, since those operations are exactly the ones that reach the affected decoder.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
muhammara is a Node module that wraps C/C++ bindings around the PDFWriter/PDFHummus codebase and is commonly used to read, modify and merge PDFs from JavaScript. In this code path, PDFParser::CreateFilterForStream() in src/deps/PDFWriter/PDFParser.cpp (around line 2107) builds a decoder for a stream's filter chain; for the LZWDecode branch it initialises an EarlyChange default of 1, then, when a /DecodeParms dictionary is present, calls QueryDictionaryObject(inDecodeParams, "EarlyChange") and immediately dereferences the result via PDFObjectCastPtr<PDFInteger>::operator->(). Because RefCountPtr::operator->() performs no NULL guard, a DecodeParms dictionary that exists but lacks the EarlyChange key yields a NULL pointer that is dereferenced, producing an access violation (0xC0000005) at the native layer. The root cause class is CWE-476 (NULL Pointer Dereference), and the upstream fix simply guards the dereference with a GetPtr()/truthiness check so the default of 1 is retained when the key is absent. Because the parser lives in native bindings, the failure takes down the calling Node process rather than raising a catchable JavaScript exception. The advisory notes the pattern is similar to earlier muhammara NULL-dereference issues CVE-2022-41957 and CVE-2022-39381. Other filter branches (for example FlateDecode) are not described as affected, and the trigger details for configurations outside the LZWDecode path are not described in the available sources. The CPE cpe:2.3:a:julianhille:muhammarajs:*:*:*:*:*:*:*: reflects a version-range match covering releases up to and including 6.0.4.
Know when Muhammarajs gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Untrusted PDF reaches the parser remotely with no auth or interaction and a deterministic NULL deref, so AV:N/AC:L/PR:N/UI:N; impact is process crash only, so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-476 NULL pointer dereference in PDFParser::CreateFilterForStream() at src/deps/PDFWriter/PDFParser.cpp line 2107, inside muhammara's bundled PDFWriter C++ code.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-125107 in MuhammaraJS versions 6.0.4 and earlier enables unauthenticated remote denial-of-service attacks that can crash Node.js or Electron processes, potentially disrupting PDF processing pipelines and dependent applications. This threatens availability of any service relying on the library to read attacker-supplied PDFs, such as document processing backends or Electron-based clients.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-120461
GHSA-fhp4-pr5j-46m5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB