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.
Published: 2026-11-09
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

A null pointer dereference occurs in the LZWDecode filter of MuhhammaraJS when a streamed PDF includes a DecodeParms dictionary that lacks the EarlyChange key. This flaw causes the PDFParser::CreateFilterForStream() routine to crash upon reading the affected stream, potentially rendering the application that processes the PDF unavailable. The weakness is a classic null pointer dereference (CWE‑476).

Affected Systems

The vulnerability affects the MuhammaraJS package provided by julianhille. Versions older than 6.0.5 are impacted; the fix was applied in the 6.0.5 release and later. Users running any Node or Electron application that incorporates MuhhammaraJS to process PDFs should verify their installed version.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and the absence of an EPSS score or KEV listing suggests the vulnerability is known but exploitation data is currently unavailable. An attacker can trigger the crash by crafting a PDF that uses the LZWDecode filter without the EarlyChange key and delivering it to an application that processes PDFs with MuhammaraJS. The impact is limited to availability—no direct compromise of confidentiality or integrity can be inferred from the supplied data. Consequently, environments that rely on untrusted PDF inputs are at heightened risk of denial of service until patched.

Generated by OpenCVE AI on November 9, 2026 at 22:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MuhammaraJS to version 6.0.5 or later, which removes the null dereference.
  • If immediate upgrade is not possible, restrict the environment so that only trusted PDFs are processed by applications using MuhammaraJS.
  • Consider disabling or bypassing the LZWDecode filter for PDFs lacking the EarlyChange key until the package can be updated, to avoid triggering the crash.

Generated by OpenCVE AI on November 9, 2026 at 22:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fhp4-pr5j-46m5 Muhammara has a NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
History

Mon, 09 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-09T21:29:35.198Z

Reserved: 2026-11-09T17:45:35.935Z

Link: CVE-2026-125107

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T22:18:41.813

Modified: 2026-11-09T22:18:41.813

Link: CVE-2026-125107

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T22:45:08Z

Weaknesses