Skip to content
Medium 7.1

pypdfに細工されたPDFでメモリを大量消費される脆弱性

CVE-2026-119209 First seen on SecPulse

Summary

pypdfの6.21.3より前のバージョンには、相互参照ストリームを細工したPDFを開くと、メモリを大量に消費してしまう脆弱性があります。修正版の6.21.3で対応しているので、pypdfを利用している場合は6.21.3以降へ更新してください。

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の6.21.3より前のバージョンには、相互参照ストリームを細工したPDFを開くと、メモリを大量に消費してしまう脆弱性があります。修正版の6.21.3で対応しているので、pypdfを利用している場合は6.21.3以降へ更新してください。

Affected packages

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

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.3, pypdf can consume excessive memory while opening a crafted PDF containing cross-reference streams that declare very large entry counts. Highly compressible streams and /Prev chains can multiply the number of parsed entries across a document, while negative /Index counts can bypass the existing per-stream clamp. This issue is fixed in version 6.21.3.

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