# CVE-2026-120634: CGI::Carp versions before 5.00 for Perl leak warnings across requests in persistent environments via the warningsToBrowser buffer

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2026-11-03T23:40:08.097Z
- Modified: 2026-11-09T19:16:43.803Z
- Weaknesses: CWE-488
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- CGI: before 5.00

## References

- <https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Carp.pm> (technical-description)
- <https://metacpan.org/release/LEEJO/CGI-5.00/changes> (release-notes)
- <https://github.com/leejo/CGI.pm/commit/604a83fec105f75fe06f1a75026c4c34fd5a1f61.patch> (patch)

## Sources

- CVE List: [CVE-2026-120634](https://www.cve.org/CVERecord?id=CVE-2026-120634), CVE Terms of Use, modified 2026-11-09
- NVD: [CVE-2026-120634](https://nvd.nist.gov/vuln/detail/CVE-2026-120634), Public domain, modified 2026-11-09

---

Page: https://cve.day/CVE-2026-120634 · Whole record: https://cve.day/CVE-2026-120634.json · Rebuilt by cve.day 2026-11-25T22:59:48.943Z
