Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-125107 — julianhille MuhammaraJS

High · CVSS 7.5EPSS 0.6% First seen November 09, 2026
JavaScriptWebVulnerabilities

Analysis

CVE-2026-125107: Null pointer crash in MuhammaraJS PDF parser fixed in version 6.0.5

CVE-2026-125107 is a high-severity (CVSS 7.5) null pointer dereference in the julianhille MuhammaraJS Node module that lets a crafted PDF crash an application that processes it. Versions before 6.0.5 are affected, and 6.0.5 contains the fix.

Key points

  • CVE-2026-125107 is a null pointer dereference in MuhammaraJS before version 6.0.5.
  • The trigger is a PDF stream using LZWDecode with DecodeParms that omit EarlyChange.
  • Impact is denial of service through a crash when untrusted PDFs are processed.
  • NVD rates the issue HIGH, CVSS 7.5.
  • Exploitation status and vendor guidance beyond NVD have not been published in the source material.

What's affected

CVE-2026-125107 affects MuhammaraJS, a Node.js module from julianhille with C and C++ bindings for modifying PDF files from JavaScript in Node or Electron. According to the NVD entry, versions before 6.0.5 are affected, and version 6.0.5 fixes the issue. Exposure depends on whether an application passes untrusted PDF files to the library.

The flaw

The NVD description places the problem in the PDF parser's filter creation routine, in src/deps/PDFWriter/PDFParser.cpp. When a PDF stream uses the LZWDecode filter and its DecodeParms dictionary omits the EarlyChange key, the code dereferences a null PDFInteger pointer. A null dereference of this kind normally terminates the process.

How serious is it

NVD rates the issue HIGH, with a CVSS score of 7.5. The stated impact is denial of service: an application that processes an untrusted PDF and reads the affected stream can crash. The source does not describe code execution or data exposure. Even so, a crash in a service that handles uploaded documents can interrupt workflows and lead to repeated restarts.

Exploitation status

The available material does not say whether this flaw is being exploited in the wild. It also does not include a vendor advisory beyond the NVD entry, a CVSS vector breakdown, or any public reporting on attack activity. Treat those details as unpublished rather than assuming either way.

What to do

Upgrade MuhammaraJS to version 6.0.5 or later. Because the package is often pulled in as a transitive dependency, check lockfiles and dependency trees for every application and Electron build that includes it. Where upgrading is not immediately possible, limit exposure by parsing untrusted PDFs in an isolated worker process that can restart without affecting other services, and monitor for unexpected process crashes during document handling.

Recommended actions

  1. Upgrade MuhammaraJS to version 6.0.5 or later in all Node and Electron applications.
  2. Audit lockfiles and dependency trees to find direct and transitive uses of the module.
  3. Run PDF parsing for untrusted files in isolated worker processes with automatic restart.
  4. Monitor logs and process telemetry for unexpected crashes during document processing.

Written with AI assistance from the sources listed on this page; check the vendor advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on availability, none on confidentiality and integrity

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness

  • CWE-476: NULL Pointer Dereference

Affected and fixed versions

ProductAffected versionsFixed in
julianhille MuhammaraJS< 6.0.5—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • julianhille MuhammaraJS

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-125107?

CVE-2026-125107 is a high-severity (CVSS 7.5) null pointer dereference in the julianhille MuhammaraJS Node module that lets a crafted PDF crash an application that processes it. Versions before 6.0.5 are affected, and 6.0.5 contains the fix. Weakness type: NULL Pointer Dereference (CWE-476).

How severe is CVE-2026-125107?

CVE-2026-125107 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-125107 being exploited?

Not as far as is known: CVE-2026-125107 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-125107?

julianhille MuhammaraJS < 6.0.5.

How do I fix CVE-2026-125107?

Upgrade MuhammaraJS to version 6.0.5 or later in all Node and Electron applications. Audit lockfiles and dependency trees to find direct and transitive uses of the module. Run PDF parsing for untrusted files in isolated worker processes with automatic restart.

Timeline & sources

References

Related vulnerabilities & news