CVE-2022-39381

Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp

State
Published
Severity
7.5 High
Published
Nov 2, 2022
Updated
Apr 22, 2025
Reserved
Sep 2, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-690 Unchecked Return Value to NULL Pointer Dereference

Affected Products

ProductVersions
MuhammaraJSjulianhille
  • < 2.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.