Skip to content
Medium 7.1

pypdfに無限ループの脆弱性、不完全なPDFでサービス停止のおそれ

CVE-2026-119203 First seen on SecPulse

Summary

pypdfの6.21.4より前のバージョンでは、末尾(トレーラー)のない不完全なPDFを開くと、処理が無限ループに陥るおそれがあります。処理スレッドが止まり、PDFを処理するサービスが応答しなくなる可能性があります。修正版は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の6.21.4より前のバージョンでは、末尾(トレーラー)のない不完全なPDFを開くと、処理が無限ループに陥るおそれがあります。処理スレッドが止まり、PDFを処理するサービスが応答しなくなる可能性があります。修正版は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 enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. 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