What’s Vulnerable › Vulnerabilities
CVE-2022-41957: muhammara vulnerable to Unchecked Return Value to NULL Pointer Dereference
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-11-28 · updated 2026-06-17
- Weakness: CWE-690
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.
Affected products
- Hummus Project Hummus: all versions
- Muhammara Project Muhammara: before 2.6.2; from 3.0.0 before 3.3.0 — fixed in 2.6.2, 3.3.0
How to fix
Upgrade to a fixed version: Muhammara Project Muhammara 2.6.2, 3.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/julianhille/MuhammaraJS/pull/235
- https://github.com/julianhille/MuhammaraJS/pull/238
- https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26
- https://github.com/julianhille/MuhammaraJS/pull/235
- https://github.com/julianhille/MuhammaraJS/pull/238
- https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26
Get alerted when CVE-2022-41957 or the next vulnerability affects your stack