# CVE-2022-39381: Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp

- 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): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-02T00:00:00.000Z
- Modified: 2026-06-17T04:58:15.180Z
- Also known as: GHSA-rcrx-fpjp-mfrw
- Weaknesses: CWE-476, CWE-690
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.

(As written by CVE List.)

## Affected

- julianhille MuhammaraJS: < 2.6.0
- muhammara (npm): before 2.6.0
- hummus (npm): before 1.0.111
- muhammarajs_project muhammarajs: up to 2.6.0
- pdfhummus hummusjs: before 1.0.111

## 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 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/galkahana/HummusJS/issues/293> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw> (third-party-advisory, web)
- <https://github.com/julianhille/MuhammaraJS/issues/191> (issue-tracking, third-party-advisory, web)
- <https://github.com/julianhille/MuhammaraJS/pull/194> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39381> (advisory)
- <https://github.com/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159a> (web)
- <https://github.com/julianhille/MuhammaraJS> (package)

## Sources

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

---

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