CVE-2022-39381
MEDIUM 5.5CVSS 3.1Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
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.
- Published
- 2 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-476CWE-690
- Also known as
- GHSA-rcrx-fpjp-mfrw
- Sources
- NVDJSONOSV GHSA-rcrx-fpjp-mfrwJSON
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 |
| 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 |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | muhammarajs_project | muhammarajscpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:* |
<= 2.6.0 | |
| NVD | pdfhummus | hummusjscpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:* |
< 1.0.111 | 1.0.111 |
| OSV | npm | muhammara | < 2.6.0 | 2.6.0 |
| OSV | npm | hummus | < 1.0.111 | 1.0.111 |
References
- https://github.com/galkahana/HummusJS/issues/293 · Exploit, Issue Tracking, 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://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw · 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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 2 Nov 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Nov 2022)