Skip to main content
← All vulnerabilities
CVE-2022-41957GHSA-2R7V-CMCH-5X26

muhammara vulnerable to Unchecked Return Value to NULL Pointer Dereference

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.2, 3.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. The package muhammara before 2.6.2 and from 3.0.0 and before 3.3.0, as well as all versions of muhammara's predecessor package hummus, are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be parsed. The issue has been patched in muhammara version 3.4.0 and the fix has been backported to version 2.6.2. As a workaround, do not process files from untrusted sources. If using hummus, replace the package with muhammara.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • julianhille MuhammaraJS

    fixed in 2.6.2; From 3.0.0 · fixed in 3.4.0

  • hummusnpm

    All versions

  • muhammaranpm

    From 3.0.0 · fixed in 3.4.0

  • muhammaranpm

    fixed in 2.6.2

References 3

GitHub · julianhille/MuhammaraJS