Skip to content
OpenAdvisories
High · 7.5 CVE-2022-39381 EUVD-2022-7423GHSA-rcrx-fpjp-mfrw

Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp

Published Nov 2, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
julianhille MuhammaraJS < 2.6.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm hummus < 1.0.111 1.0.111 GHSA-rcrx-fpjp-mfrw
npm muhammara < 2.6.0 2.6.0 GHSA-rcrx-fpjp-mfrw

References