CVE-2022-41957
HIGH 7.5CVSS 3.1muhammara and hummus vulnerable to Unchecked Return Value to NULL Pointer Dereference
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.
- Published
- 28 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-690
- Also known as
- GHSA-2r7v-cmch-5x26
- Sources
- NVDJSONOSV GHSA-2r7v-cmch-5x26JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | muhammara_project | muhammaracpe:2.3:a:muhammara_project:muhammara:*:*:*:*:*:node.js:*:* |
< 2.6.2 | 2.6.2 |
| NVD | muhammara_project | muhammaracpe:2.3:a:muhammara_project:muhammara:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 3.3.0 | 3.3.0 |
| NVD | hummus_project | hummuscpe:2.3:a:hummus_project:hummus:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | hummus | all versions | |
| OSV | npm | muhammara | >= 3.0.0, < 3.4.0 | 3.4.0 |
| OSV | npm | muhammara | < 2.6.2 | 2.6.2 |
References
- https://github.com/julianhille/MuhammaraJS/pull/235 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/julianhille/MuhammaraJS/pull/238 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41957 · ADVISORY
- https://github.com/julianhille/MuhammaraJS · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Nov 2022)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Dec 2022)