CVE-2022-41957Muhammara Project Muhammara
High 7.5 No auth needed
Follow: this CVE · Muhammara Project · Muhammara Project Muhammara We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Muhammara.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| muhammara_project | muhammara | < 2.6.2 |
| muhammara_project | muhammara | ≥ 3.0.0 < 3.3.0 |
| hummus_project | hummus | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- github.com Third Party Advisory