CVE-2026-120634
CGI::Carp versions before 5.00 for Perl leak warnings across requests in persistent environments via the warningsToBrowser buffer.
Impact
CGI::Carp versions before 5.00 for Perl leak warnings across requests in persistent environments via the warningsToBrowser buffer. Warnings are held in a package-level buffer until warningsToBrowser writes them into the page as HTML comments, and the buffer is never cleared between requests. Under mod_perl, FastCGI or PSGI, warnings from one request are written into a later one. Warnings that contain one user's request data can appear in the HTML sent to another user.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.
Affected products
| Product | Affected versions |
|---|---|
| CGI::Carp | before 5.00 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Carp.pm
- https://metacpan.org/release/LEEJO/CGI-5.00/changes
- https://github.com/leejo/CGI.pm/commit/604a83fec105f75fe06f1a75026c4c34fd5a1f61.patch
- https://github.com/advisories/GHSA-qqq9-5j87-rw35
- https://nvd.nist.gov/vuln/detail/CVE-2026-120634