Skip to content
Medium 7.1

pypdfにPDFのページツリー解析時にメモリを大量消費される脆弱性

CVE-2026-119204 First seen on SecPulse

Summary

pypdfは、細工されたPDFのページツリーを解析すると、メモリを過剰に消費する脆弱性があります。6.21.4より前のバージョンが影響を受け、CVSS v4のスコアは7.1です。修正版の6.21.4が公開されているので、pypdfを利用している場合は6.21.4以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

pypdfは、細工されたPDFのページツリーを解析すると、メモリを過剰に消費する脆弱性があります。6.21.4より前のバージョンが影響を受け、CVSS v4のスコアは7.1です。修正版の6.21.4が公開されているので、pypdfを利用している場合は6.21.4以降へ更新してください。

Affected packages

PackageAffected → Fixed
py-pdfpypdf —
pippypdf
< 6.21.4→ 6.21.4
PyPIpypdf
< 6.21.4→ 6.21.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can consume excessive memory while parsing a crafted PDF page tree containing many shared resources. Page-tree flattening copies page dictionary and inherited resource entries without a document-wide entry budget, allowing the crafted resource structure to cause disproportionate allocations. This issue is fixed in version 6.21.4.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details