CVE-2022-39381 json
Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
published 2022-11-02 4 y ago modified 2026-06-17 4 mo ago also GHSA-rcrx-fpjp-mfrw , EUVD-2022-7423
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm muhammara 2.6.0
- npm hummus 1.0.111
- pdfhummus hummusjs 1.0.111
- github.com/galkahana/HummusJS@a9bf252 commit
- github.com/julianhille/MuhammaraJS#194 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/galkahana/HummusJS/issues/293 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | muhammara | <2.6.0 |
2.6.0 |
| npm | hummus | <1.0.111 |
1.0.111 |
Affected products
- julianhille MuhammaraJS
Classification
References
-
github.com
/julianhille/MuhammaraJS/pull/194
web, patch, third-party-advisory
-
github.com
/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159a
web
-
github.com
/galkahana/HummusJS/issues/293
web, exploit, issue-tracking, third-party-advisory
-
github.com
/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw
web, third-party-advisory
-
github.com
/julianhille/MuhammaraJS/issues/191
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39381
advisory
-
github.com
/julianhille/MuhammaraJS
package
Sources
- CVE List CVE-2022-39381
- GitHub Advisory GHSA-rcrx-fpjp-mfrw
- NVD CVE-2022-39381
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.