High severity7.5NVD Advisory· Published Nov 28, 2022· Updated Jun 17, 2026
CVE-2022-41957
CVE-2022-41957
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
hummusnpm | >= 0 | — |
muhammaranpm | >= 3.0.0, < 3.4.0 | 3.4.0 |
muhammaranpm | < 2.6.2 | 2.6.2 |
Affected products
5- cpe:2.3:a:hummus_project:hummus:*:*:*:*:*:node.js:*:*
- ghsa-coords2 versions
>= 0+ 1 more
- (no CPE)range: >= 0
- (no CPE)range: >= 3.0.0, < 3.4.0
- Range: < 2.6.2
Patches
Vulnerability mechanics
References
5- github.com/julianhille/MuhammaraJS/pull/235nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/julianhille/MuhammaraJS/pull/238nvdIssue TrackingPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-2r7v-cmch-5x26ghsaADVISORY
- github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-41957ghsaADVISORY
News mentions
0No linked articles in our index yet.