{"id":"CVE-2022-39381","published":"2022-11-02T00:00:00Z","modified":"2025-04-22T16:09:05Z","title":"Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp","vendor":"julianhille","product":"MuhammaraJS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00887,"percentile":0.60191,"provenance":"source"},"cwes":[{"id":"CWE-690","name":"Unchecked Return Value to NULL Pointer Dereference"}],"references":[{"url":"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw","tags":[]},{"url":"https://github.com/galkahana/HummusJS/issues/293","tags":[]},{"url":"https://github.com/julianhille/MuhammaraJS/issues/191","tags":[]},{"url":"https://github.com/julianhille/MuhammaraJS/pull/194","tags":[]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":12.04},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"julianhille","affectedVersions":[{"vendor":"julianhille","product":"MuhammaraJS","versions":["< 2.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:39:17.642211Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"muhammara","vulnerableRanges":["<2.6.0"],"patched":["2.6.0"],"from":["GHSA-rcrx-fpjp-mfrw"],"provenance":"source"},{"ecosystem":"npm","package":"hummus","vulnerableRanges":["<1.0.111"],"patched":["1.0.111"],"from":["GHSA-rcrx-fpjp-mfrw"],"provenance":"source"}],"summary":{"text":"The flaw is an unchecked return value leading to a NULL pointer dereference in PDFDocumentHandler.cpp, a component of the MuhammaraJS Node module (muhammara before 2.6.0) and the related hummus package, which is not patched. An unauthenticated remote attacker who can supply a maliciously crafted PDF to be appended to another document can trigger a denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:41Z"},"euvd":{"id":"EUVD-2022-7423","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-25885","published":"2022-11-01","fixed":"2.6.0","kev":false},{"cve":"CVE-2022-39381","published":"2022-11-02","fixed":"2.6.0","kev":false},{"cve":"CVE-2022-25892","published":"2022-11-01","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2022-39381","to":"CVE-2022-25892","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:muhammara","fromFixed":"2.6.0","toFixed":"2.6.1","daysApart":-1},{"kind":"similar","provenance":"machine","score":0.71,"basis":"same package + description similarity"}]}},{"cve":"CVE-2022-41957","published":"2022-11-28","fixed":"3.4.0","kev":false},{"cve":"CVE-2026-125107","published":"2026-11-09","fixed":"6.0.5","kev":false}],"package":"npm:muhammara"}}