High severityNVD Advisory· Published Nov 2, 2022· Updated Apr 22, 2025
Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
CVE-2022-39381
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
muhammaranpm | < 2.6.0 | 2.6.0 |
hummusnpm | < 1.0.111 | 1.0.111 |
Affected products
3- ghsa-coords2 versions
< 1.0.111+ 1 more
- (no CPE)range: < 1.0.111
- (no CPE)range: < 2.6.0
- Range: < 2.6.0
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-rcrx-fpjp-mfrwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-39381ghsaADVISORY
- github.com/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159aghsaWEB
- github.com/galkahana/HummusJS/issues/293ghsaWEB
- github.com/julianhille/MuhammaraJS/issues/191ghsaWEB
- github.com/julianhille/MuhammaraJS/pull/194ghsaWEB
- github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrwghsaWEB
News mentions
0No linked articles in our index yet.