CVE-2022-39381
JavaScript vulnerability analysis and mitigation

Overview

The package muhammara before 2.6.0 and all versions of package hummus (its predecessor) contain a vulnerability that allows Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another (GitHub Advisory, NVD). The vulnerability was discovered in 2022 and affects the PDF processing functionality of these Node.js modules.

Technical details

The vulnerability stems from an unchecked return value leading to a NULL pointer dereference in PDFDocumentHandler.cpp. This occurs specifically when attempting to append maliciously crafted PDF files to another PDF document. The issue has been assigned CWE-690 classification and has a CVSS v3.1 base score of 7.5 (High severity), indicating a network-accessible attack vector with low complexity and no required privileges or user interaction (GitHub Advisory).

Impact

When exploited, this vulnerability can cause a Denial of Service condition by crashing the application when processing certain PDF files. The impact is particularly severe as it affects the core PDF processing functionality and can lead to service disruption when handling malformed PDF documents (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in muhammara version 2.6.0. For users of the hummus package, no patch is available as the package is no longer maintained. The recommended workaround is to avoid processing files from untrusted sources. Users of hummus should migrate to the muhammara package and update to version 2.6.0 or later (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management