{"api_version":"1","generated_at":"2026-07-23T12:38:50+00:00","cve":"CVE-2022-39381","urls":{"html":"https://cve.report/CVE-2022-39381","api":"https://cve.report/api/cve/CVE-2022-39381.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39381","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39381"},"summary":{"title":"CVE-2022-39381","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-11-02 15:15:00","updated_at":"2022-11-04 02:42:00"},"problem_types":["CWE-476"],"metrics":[],"references":[{"url":"https://github.com/julianhille/MuhammaraJS/pull/194","name":"https://github.com/julianhille/MuhammaraJS/pull/194","refsource":"MISC","tags":[],"title":"Fix append pages when stream is not readable by julianhille · Pull Request #194 · julianhille/MuhammaraJS · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/julianhille/MuhammaraJS/issues/191","name":"https://github.com/julianhille/MuhammaraJS/issues/191","refsource":"MISC","tags":[],"title":"segmentation fault for specific file when appending to another · Issue #191 · julianhille/MuhammaraJS · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/galkahana/HummusJS/issues/293","name":"https://github.com/galkahana/HummusJS/issues/293","refsource":"MISC","tags":[],"title":"Hummus exception causes Node.js crashing · Issue #293 · galkahana/HummusJS · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw","name":"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw","refsource":"CONFIRM","tags":[],"title":"Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp · Advisory · julianhille/MuhammaraJS · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39381","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39381","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"39381","vulnerable":"1","versionEndIncluding":"2.6.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"muhammarajs_project","cpe5":"muhammarajs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"39381","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pdfhummus","cpe5":"hummusjs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-39381","STATE":"PUBLIC","TITLE":"Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"MuhammaraJS","version":{"version_data":[{"version_value":"< 2.6.0"}]}}]},"vendor_name":"julianhille"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-690: Unchecked Return Value to NULL Pointer Dereference"}]}]},"references":{"reference_data":[{"name":"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw","refsource":"CONFIRM","url":"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw"},{"name":"https://github.com/galkahana/HummusJS/issues/293","refsource":"MISC","url":"https://github.com/galkahana/HummusJS/issues/293"},{"name":"https://github.com/julianhille/MuhammaraJS/issues/191","refsource":"MISC","url":"https://github.com/julianhille/MuhammaraJS/issues/191"},{"name":"https://github.com/julianhille/MuhammaraJS/pull/194","refsource":"MISC","url":"https://github.com/julianhille/MuhammaraJS/pull/194"}]},"source":{"advisory":"GHSA-rcrx-fpjp-mfrw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-11-02 15:15:00","lastModifiedDate":"2022-11-04 02:42:00","problem_types":["CWE-476"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:pdfhummus:hummusjs:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.0.111","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:*","versionEndIncluding":"2.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}