Security mailing lists by PureSourceCode

CVE-2022-41957

HIGH 7.5CVSS 3.1

muhammara and hummus vulnerable to Unchecked Return Value to NULL Pointer Dereference

Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. The package muhammara before 2.6.2 and from 3.0.0 and before 3.3.0, as well as all versions of muhammara's predecessor package hummus, 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 3.4.0 and the fix has been backported to version 2.6.2. As a workaround, do not process files from untrusted sources. If using hummus, replace the package with muhammara.

Published
28 Nov 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-690
Also known as
GHSA-2r7v-cmch-5x26
Sources
NVDJSONOSV GHSA-2r7v-cmch-5x26JSON

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
NVD nvd@nist.gov (Primary) 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD muhammara_project muhammara
cpe:2.3:a:muhammara_project:muhammara:*:*:*:*:*:node.js:*:*
< 2.6.2 2.6.2
NVD muhammara_project muhammara
cpe:2.3:a:muhammara_project:muhammara:*:*:*:*:*:node.js:*:*
>= 3.0.0, < 3.3.0 3.3.0
NVD hummus_project hummus
cpe:2.3:a:hummus_project:hummus:*:*:*:*:*:node.js:*:*
all versions
OSV npm hummus all versions
OSV npm muhammara >= 3.0.0, < 3.4.0 3.4.0
OSV npm muhammara < 2.6.2 2.6.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 28 Nov 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Dec 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.