Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-39381
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 19:22 UTC · Revision 1
Source evidence
Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp
core-osv · Original sourcePublished 2 Nov 2022, 00:00 UTC
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.
osv:CVE-2022-39381
Complete source record
{
"id": "75445af591f4e28ee3272fabad65719a436f6b2392d44a383d8e668ce0ad59ca",
"url": "https://osv.dev/vulnerability/CVE-2022-39381",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp",
"summary": "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.",
"evidence": "osv:CVE-2022-39381",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-39381",
"aliases": [
"CVE-2022-39381",
"GHSA-rcrx-fpjp-mfrw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/julianhille/muhammarajs",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9713a0979163ee199838af535bf3bd33d73ebdd7"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:muhammarajs_project:muhammarajs:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.6.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.5.1",
"1.5.0",
"1.4.3",
"1.4.2",
"1.4.1",
"1.4.0",
"1.3.0",
"1.0.0-rc.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39381.json"
}
}
],
"modified": "2026-10-28T02:30:51.491040390Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39381.json",
"https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw",
"https://nvd.nist.gov/vuln/detail/CVE-2022-39381",
"https://github.com/galkahana/HummusJS/issues/293",
"https://github.com/julianhille/MuhammaraJS/issues/191",
"https://github.com/julianhille/MuhammaraJS/pull/194"
],
"provider_metadata": {
"cwe_ids": [
"CWE-690"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39381.json"
}
},
"related_cves": [
{
"value": "CVE-2022-39381",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520210,
"published_at": "2022-11-02T00:00:00+00:00"
}