muhammara and hummus vulnerable to Unchecked Return Value to NULL Pointer DereferenceGHSA-2r7v-cmch-5x26
HIGHFix: julianhille/MuhammaraJS#235GHSA-2r7v-cmch-5x26 is a high-severity (CVSS 7.5) CWE-690 vulnerability in hummus. A fix is available for hummus — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-2r7v-cmch-5x26.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
hummusnpmmuhammaranpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | hummus | all versions | No fix |
| 📦npm | muhammara | ≥ 3.0.0&&< 3.4.0 | 3.4.0npm install muhammara@3.4.0 |
| 📦npm | muhammara | all versions | 2.6.2npm install muhammara@2.6.2 |
Affected Products
hummushummus_projectmuhammaramuhammara_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for hummus, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
A fix is available for GHSA-2r7v-cmch-5x26; check the affected-versions list above or the advisory for the patched release of hummus, then make sure no transitive dependency still pins the vulnerable range.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-2r7v-cmch-5x26 in your dependencies?
Find it across npm, including transitive dependencies.