An issue was discovered in Poppler 22.08.0. There is a reachable assertion in Object.h, will lead to denial of service because PDFDoc::replacePageDict in PDFDoc.cc lacks a stream check before saving an embedded file.
{ "vanir_signatures": [ { "target": { "function": "PDFDoc::replacePageDict", "file": "poppler/PDFDoc.cc" }, "signature_type": "Function", "source": "https://gitlab.freedesktop.org/poppler/poppler@4564a002bcb6094cc460bc0d5ddff9423fe6dd28", "id": "CVE-2022-38349-655d0887", "signature_version": "v1", "deprecated": false, "digest": { "function_hash": "278198337781370379682767387665560638766", "length": 1221.0 } }, { "target": { "file": "utils/pdfunite.cc" }, "signature_type": "Line", "source": "https://gitlab.freedesktop.org/poppler/poppler@4564a002bcb6094cc460bc0d5ddff9423fe6dd28", "id": "CVE-2022-38349-6c725609", "signature_version": "v1", "deprecated": false, "digest": { "line_hashes": [ "208287840360781646675936020976936566019", "35725193396377480983840216143287832211", "338669630972771371426897273815972287705", "285804276582019238211749775458293638825" ], "threshold": 0.9 } }, { "target": { "function": "main", "file": "utils/pdfunite.cc" }, "signature_type": "Function", "source": "https://gitlab.freedesktop.org/poppler/poppler@4564a002bcb6094cc460bc0d5ddff9423fe6dd28", "id": "CVE-2022-38349-78105dbb", "signature_version": "v1", "deprecated": false, "digest": { "function_hash": "199033974222301744162180022108029061501", "length": 9527.0 } }, { "target": { "file": "poppler/PDFDoc.h" }, "signature_type": "Line", "source": "https://gitlab.freedesktop.org/poppler/poppler@4564a002bcb6094cc460bc0d5ddff9423fe6dd28", "id": "CVE-2022-38349-9194e3a2", "signature_version": "v1", "deprecated": false, "digest": { "line_hashes": [ "119061681459072995336749164204409614205", "310601896054141298882793475127531963740", "323767781644168077073788382404741565414", "121335891706566284415627501913965562186" ], "threshold": 0.9 } }, { "target": { "file": "poppler/PDFDoc.cc" }, "signature_type": "Line", "source": "https://gitlab.freedesktop.org/poppler/poppler@4564a002bcb6094cc460bc0d5ddff9423fe6dd28", "id": "CVE-2022-38349-ba472c8d", "signature_version": "v1", "deprecated": false, "digest": { "line_hashes": [ "220753405548428387183197371674658079372", "160188165752855857011810481816624076617", "109193999749591786407712572863962726399", "257785743474255470521539602907411694022", "84314911086220442048839528856815015840", "224348102061797659199028422702240896381", "132382132251429852516410338485519729772", "228420466485419239135845902785795784688", "108851965955581414550174860359531579715", "128398370585023614830370983689588803211", "215950284366318878634162444450763235626" ], "threshold": 0.9 } } ] }