1. Home
  2. Vulnerabilities
  3. CVE-2026-125107

CVE-2026-125107

Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key

Published 9 Nov 2026 · modified 12 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 49/100

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.

Affected products and versions

julianhille (1 line(s))
julianhille
ProductVersionsFixed inSource
MuhammaraJS Versions not specified — CNA (vendor or assigner)
npm (1 line(s))
npm
ProductVersionsFixed inSource
muhammara before 6.0.5 (excluded) 6.0.5 GitHub Advisory

Fix

Upgrade — npm/muhammara 6.0.5official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Weakness
CWE-476 · Corruption mémoire

How this data is obtained and calculated