# CVE-2022-41957: muhammara vulnerable to Unchecked Return Value to NULL Pointer Dereference

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-11-30)
- Published: 2022-11-28T00:00:00.000Z
- Modified: 2026-06-17T05:04:08.147Z
- Also known as: GHSA-2r7v-cmch-5x26
- Weaknesses: CWE-690
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- julianhille MuhammaraJS: < 2.6.2; >= 3.0.0, < 3.4.0
- hummus (npm): all versions
- muhammara (npm): from 3.0.0 before 3.4.0; before 2.6.2
- muhammara_project muhammara: before 2.6.2; from 3.0.0 before 3.3.0
- hummus_project hummus: no versions given

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26> (third-party-advisory, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2022-41957> (advisory)
- <https://github.com/julianhille/MuhammaraJS> (package)

## Sources

- CVE List: [CVE-2022-41957](https://www.cve.org/CVERecord?id=CVE-2022-41957), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-2r7v-cmch-5x26](https://github.com/advisories/GHSA-2r7v-cmch-5x26), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-41957](https://nvd.nist.gov/vuln/detail/CVE-2022-41957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41957 · Whole record: https://cve.day/CVE-2022-41957.json · Rebuilt by cve.day 2026-11-25T22:58:17.094Z
