Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hummus
  4. ›
  5. CVE-2022-39381

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

November 2, 2022 (updated November 4, 2022)

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 is 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.

References

  • github.com/advisories/GHSA-rcrx-fpjp-mfrw
  • github.com/galkahana/HummusJS/commit/a9bf2520ab5abb69f9328906e406fbebfb36159a
  • github.com/galkahana/HummusJS/issues/293
  • github.com/julianhille/MuhammaraJS/issues/191
  • github.com/julianhille/MuhammaraJS/pull/194
  • github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw
  • nvd.nist.gov/vuln/detail/CVE-2022-39381

Code Behaviors & Features

Detect and mitigate CVE-2022-39381 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.111

Fixed versions

  • 1.0.111

Solution

Upgrade to version 1.0.111 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

npm/hummus/CVE-2022-39381.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:06 +0000.