{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9713a0979163ee199838af535bf3bd33d73ebdd7"
            }
          ],
          "repo": "https://github.com/julianhille/muhammarajs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rcrx-fpjp-mfrw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-690"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39381.json"
  },
  "details": "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.",
  "id": "CVE-2022-39381",
  "modified": "2026-04-01T23:09:59.708166382Z",
  "published": "2022-11-02T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39381.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/julianhille/MuhammaraJS/security/advisories/GHSA-rcrx-fpjp-mfrw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39381"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/galkahana/HummusJS/issues/293"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/julianhille/MuhammaraJS/issues/191"
    },
    {
      "type": "FIX",
      "url": "https://github.com/julianhille/MuhammaraJS/pull/194"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp"
}