Skip to main content

Unchecked Return Value to NULL Pointer Dereference

CVE-2022-41957

Severity High
Score 7.5/10

Summary

Muhammara is a node module with `c/cpp` bindings to modify PDF with JavaScript for node or electron. The package muhammara prior to 2.6.2 and 3.0.0 prior to 3.4.0 and hummus prior to 1.0.112 are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be parsed. The issue has been patched in muhammara version 2.6.2 and 3.4.0. As a workaround, do not process files from untrusted sources. If using hummus, replace the package with muhammara.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-690 - Unchecked Return Value to NULL Pointer Dereference

The product does not check for an error after calling a function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference.

Advisory Timeline

  • Published