Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-476.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| julianhille | MuhammaraJS | before 2.6.0 | 2.6.0 | Patch available | CNA |
| — | muhammara (npm) | before 2.6.0 | 2.6.0 | Patch available | GHSA-rcrx-fpjp-mfrw |
| — | hummus (npm) | before 1.0.111 | 1.0.111 | Patch available | GHSA-rcrx-fpjp-mfrw |
- MuhammaraJS Vendorjulianhille Affected before 2.6.0 Fixed in 2.6.0 Patch available CNA
- muhammara (npm) Vendor— Affected before 2.6.0 Fixed in 2.6.0 Patch available GHSA-rcrx-fpjp-mfrw
- hummus (npm) Vendor— Affected before 1.0.111 Fixed in 1.0.111 Patch available GHSA-rcrx-fpjp-mfrw
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:* | up to 2.6.0 | Vulnerable | Muhammarajs Project |
| cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:* | before 1.0.111 | Vulnerable | Pdfhummus |
- cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:* Versions up to 2.6.0 Vulnerable ·Muhammarajs Project
- cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:* Versions before 1.0.111 Vulnerable ·Pdfhummus
Remediation
- Fix · CNA MuhammaraJS (julianhille) Fixed in 2.6.0
- Fix · GHSA-rcrx-fpjp-mfrw muhammara (npm) Fixed in 2.6.0 Advisory →
- Fix · GHSA-rcrx-fpjp-mfrw hummus (npm) Fixed in 1.0.111 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39381
- 2026-10-03 Alias added: GHSA-rcrx-fpjp-mfrw
References
Advisory 3
Sources
- CVE-2022-39381 · CVE Program
- CVE-2022-39381 · NVD
- FIRST EPSS
- GHSA-rcrx-fpjp-mfrw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences