Skip to content
Critical 9.1

CGI for Perlで入力値の汚染フラグが外れ、検証されない値が通る脆弱性

CVE-2026-120642 First seen on SecPulse

Summary

CGI for Perlの5.00より前のバージョンでは、アップロードされたファイル名や一部のCookieなどの値が、汚染モード(-T)でも汚染フラグを外された状態で返されます。このため、検証を省いたまま値が使われるおそれがあり、CVSSは8.1です。修正版はバージョン5.00で、利用中のモジュールを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より前のバージョンでは、アップロードされたファイル名や一部のCookieなどの値が、汚染モード(-T)でも汚染フラグを外された状態で返されます。このため、検証を省いたまま値が使われるおそれがあり、CVSSは8.1です。修正版はバージョン5.00で、利用中のモジュールを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 return request-derived values untainted under taint mode.

The upload filename, uploadInfo values, some path_info and script_name values, Accept results, and the name lists from url_param and cookie are returned without the taint flag, as is a cookie named expires from 4.67 on.

These values come from regex captures or hash keys, which Perl does not taint, so they pass -T checks unvalidated.

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