{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120634","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","state":"PUBLISHED","assignerShortName":"CPANSec","dateReserved":"2026-11-02T17:40:16.533Z","datePublished":"2026-11-03T23:40:08.097Z","dateUpdated":"2026-11-03T23:40:08.097Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["CGI::Carp"],"packageName":"CGI","packageURL":"pkg:cpan/CGI","programFiles":["lib/CGI/Carp.pm"],"programRoutines":[{"name":"CGI::Carp::warningsToBrowser"}],"repo":"https://github.com/leejo/CGI.pm","versions":[{"lessThan":"5.00","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"CGI::Carp versions before 5.00 for Perl leak warnings across requests in persistent environments via the warningsToBrowser buffer.\n\nWarnings 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.\n\nWarnings that contain one user's request data can appear in the HTML sent to another user."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-488","description":"CWE-488 Exposure of Data Element to Wrong Session","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec","dateUpdated":"2026-11-03T23:40:08.097Z"},"references":[{"tags":["technical-description"],"url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Carp.pm"},{"tags":["release-notes"],"url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes"},{"tags":["patch"],"url":"https://github.com/leejo/CGI.pm/commit/604a83fec105f75fe06f1a75026c4c34fd5a1f61.patch"}],"solutions":[{"lang":"en","value":"Upgrade to CGI 5.00 or later."}],"source":{"discovery":"UNKNOWN"},"title":"CGI::Carp versions before 5.00 for Perl leak warnings across requests in persistent environments via the warningsToBrowser buffer","workarounds":[{"lang":"en","value":"For deployments that cannot upgrade, do not use warningsToBrowser in persistent environments. After upgrading, persistent applications where nothing calls CGI::initialize_globals between requests must also call CGI::Carp::_reset_globals at the start of each request."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}}}