CVE-2022-41957 json
muhammara vulnerable to Unchecked Return Value to NULL Pointer Dereference
published 2022-11-28 3 y ago modified 2026-06-17 4 mo ago also GHSA-2r7v-cmch-5x26 , EUVD-2022-7477
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm muhammara 2.6.2, 3.4.0
- muhammara_project muhammara 2.6.2, 3.3.0
- github.com/julianhille/MuhammaraJS#235 pull request
- github.com/julianhille/MuhammaraJS#238 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.15% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | hummus | all versions |
no fix listed |
| npm | muhammara | >=3.0.0, <3.4.0 <2.6.2 |
3.4.0 2.6.2 |
Affected products
- julianhille MuhammaraJS
Classification
- Weakness
-
- CWE-690 Unchecked Return Value to NULL Pointer Dereference
References
-
github.com
/julianhille/MuhammaraJS/pull/235
web, issue-tracking, patch, third-party-advisory
-
github.com
/julianhille/MuhammaraJS/pull/238
web, issue-tracking, patch, third-party-advisory
-
github.com
/julianhille/MuhammaraJS/security/advisories/GHSA-2r7v-cmch-5x26
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-41957
advisory
-
github.com
/julianhille/MuhammaraJS
package
Sources
- CVE List CVE-2022-41957
- GitHub Advisory GHSA-2r7v-cmch-5x26
- NVD CVE-2022-41957
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.