Skip to content
High 7.5

CGI for Perlに無限ループの脆弱性、攻撃者が短いリクエストでサーバープロセスを占有できる

CVE-2026-120651 First seen on SecPulse

Summary

CGI for Perlの5.00より前の版には、$DISABLE_UPLOADSが設定されている場合に、本文が短いリクエストで無限ループが起きる脆弱性があります。リクエスト1件でサーバープロセスを回り続けさせられるため、可用性への影響が懸念されます。修正版は5.00で、CPANの配布版を5.00以降に更新してください。

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.

CGI for Perlの5.00より前の版には、$DISABLE_UPLOADSが設定されている場合に、本文が短いリクエストで無限ループが起きる脆弱性があります。リクエスト1件でサーバープロセスを回り続けさせられるため、可用性への影響が懸念されます。修正版は5.00で、CPANの配布版を5.00以降に更新してください。

Affected packages

PackageAffected → Fixed
CPANCGI
< 5.00→ 5.00

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.

CGI versions before 5.00 for Perl allow an infinite loop on a short request body when $DISABLE_UPLOADS is set.

When $CGI::PUTDATA_UPLOAD or an upload hook is set, read_postdata_putdata takes a request body that is not a form submission. With $CGI::DISABLE_UPLOADS set, it discards the body by reading until Content-Length bytes have arrived. Once a body shorter than its Content-Length runs out, every read returns 0, so the loop never ends.

A client can keep a server process spinning with one such request.

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