Security mailing lists by PureSourceCode

CVE-2022-39381

MEDIUM 5.5CVSS 3.1

Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp

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.

Published
2 Nov 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-476CWE-690
Also known as
GHSA-rcrx-fpjp-mfrw
Sources
NVDJSONOSV GHSA-rcrx-fpjp-mfrwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD muhammarajs_project muhammarajs
cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:*
<= 2.6.0
NVD pdfhummus hummusjs
cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:*
< 1.0.111 1.0.111
OSV npm muhammara < 2.6.0 2.6.0
OSV npm hummus < 1.0.111 1.0.111

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 2 Nov 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.