Skip to main content

Muhammara CVE-2026-125107

| EUVDEUVD-2026-120461 HIGH
NULL Pointer Dereference (CWE-476)
2026-11-09 GitHub_M GHSA-fhp4-pr5j-46m5
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted LZWDecode PDF (missing EarlyChange)
  2. Delivery
    Application reads affected stream
  3. Exploit
    QueryDictionaryObject returns NULL for EarlyChange
  4. Execution
    earlyObj->GetValue() dereferences NULL pointer
  5. Impact
    Process 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MuhammaraJS < 6.0.5

Affected Packages

npm muhammara fix: 6.0.5
euvd muhammarajs fix: 6.0.5

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 22:03 EUVD
CVE Published
Nov 09, 2026 - 21:29 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Medium
node PDF-manipulation library (muhammara/hummus fork); moderate npm adoption, not ubiquitous
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy