OSV 1.4.0 · github-reviewed · 修改于 2026-06-27 04:55
发布时间
2026-06-27 04:55
GitHub 审查时间
2026-06-27 04:55
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/06/GHSA-fhp4-pr5j-46m5/GHSA-fhp4-pr5j-46m5.json
A NULL pointer dereference vulnerability exists in PDFParser::CreateFilterForStream() when processing a PDF stream with /Filter /LZWDecode and a /DecodeParms dictionary that does not contain the EarlyChange key. This causes an access violation (0xC0000005) and crashes the process.
muhammara <= 6.0.4 (latest)
File: src/deps/PDFWriter/PDFParser.cpp line 2107
if (inDecodeParams)
{
PDFObjectCastPtr<PDFInteger> earlyObj(
QueryDictionaryObject(inDecodeParams, "EarlyChange")
);
early = earlyObj->GetValue(); // NULL dereference when EarlyChange key is absent
}
When inDecodeParams is non-NULL but lacks the EarlyChange key:
QueryDictionaryObject() returns NULLPDFObjectCastPtr<PDFInteger>(NULL) wraps NULLearlyObj->GetValue() dereferences NULL → crash460-byte malicious PDF triggers crash via startReadingFromStream():
/Filter /LZWDecode with /DecodeParms << >> (empty, no EarlyChange)0xC0000005 (Access Violation)if (earlyObj)
early = earlyObj->GetValue();
Any application accepting untrusted PDFs and using muhammara to read stream contents is vulnerable to DoS.
Similar to: CVE-2022-41957, CVE-2022-39381