Live threats

All CVEs / Muhammara Project

CVE-2022-41957Muhammara Project Muhammara

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Nov 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-690
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Muhammara.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm hummus all no fixed version —
npm muhammara ≥ 3.0.0 < 3.4.0 3.4.0 npm install muhammara@3.4.0
npm muhammara < 2.6.2 2.6.2 npm install muhammara@2.6.2

Per OSV / GitHub Advisories (GHSA-2r7v-cmch-5x26). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
muhammara_projectmuhammara< 2.6.2
muhammara_projectmuhammara≥ 3.0.0 < 3.3.0
hummus_projecthummusall

Official sources

References

Links published by the sources. Open them with care.