Skip to content

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

MediumCVSS 5.5 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
muhammarajs project muhammarajs <= 2.6.0 after 2.6.0 Fixed
npm hummus(npm) < 1.0.111 1.0.111 Fixed
npm muhammara(npm) < 2.6.0 2.6.0 Fixed
pdfhummus hummusjs < 1.0.111 1.0.111 Fixed
julianhille MuhammaraJS = < 2.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm muhammara(npm) < 2.6.0 2.6.0
npm hummus(npm) < 1.0.111 1.0.111
julianhille MuhammaraJS = < 2.6.0 No fix listed
muhammarajs project muhammarajs <= 2.6.0 No fix listed
pdfhummus hummusjs < 1.0.111 1.0.111

References