CVE-2026-125107

Source
https://cve.org/CVERecord?id=CVE-2026-125107
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125107.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-125107
Aliases
Published
2026-11-09T21:29:35Z
Modified
2026-11-14T07:14:45Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Muhammara: NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key
Details

Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. Prior to 6.0.5, Muhammara PDFParser::CreateFilterForStream() in src/deps/PDFWriter/PDFParser.cpp dereferences a null PDFInteger pointer when a PDF stream uses the LZWDecode filter with a DecodeParms dictionary that omits the EarlyChange key. An application that processes an untrusted PDF and reads the affected stream can crash, causing a denial of service. This issue is fixed in version 6.0.5.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-476"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125107.json"
}
References

Affected packages

Git / github.com/julianhille/muhammarajs

Affected ranges

Type
GIT
Repo
https://github.com/julianhille/muhammarajs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "6.0.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "a98c07780241353334eb65bfca1df025f14be70b"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "6.0.5",
            "range":  [
                {
                    "fixed":  "a1741ba34bb61337016cd1a61b17d28b21a03dfc"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.0.0-rc.1
1.3.0
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.5.1
6.*
6.0.0
6.0.1
6.0.1-alpha
6.0.2
6.0.3
6.0.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125107.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "310414265178734100703418939444687421579",
            "length":  1967
        },
        "id":  "CVE-2026-125107-339c07ec",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/julianhille/muhammarajs/commit/a98c07780241353334eb65bfca1df025f14be70b",
        "target":  {
            "file":  "src/deps/PDFWriter/PDFParser.cpp",
            "function":  "PDFParser::CreateFilterForStream"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "57893859695368507124146382952213695868",
                "53127564606019973288611290257682548311",
                "11557573434274459663502610561248264640",
                "90425388057937684285045460454119367545"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-125107-959ed08d",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/julianhille/muhammarajs/commit/a98c07780241353334eb65bfca1df025f14be70b",
        "target":  {
            "file":  "src/deps/PDFWriter/PDFParser.cpp"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:14:45Z"