Bug 2567295

Summary: CVE-2026-120639 perl-CGI: perl-cgi: HTTP header injection via improper newline validation [fedora-all]
Product: [Fedora] Fedora Reporter: Marian Rehak <mrehak>
Component: perl-CGIAssignee: Jitka Plesnikova <jplesnik>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jplesnik, mspacek, perl-devel
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["9924dfd5-6d6c-4f89-b155-3dcdbcf3f3e5"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2566606    

Description Marian Rehak 2026-11-05 13:34:22 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push.

With autoEscape off, header decodes HTML entities in extra header values after its newline check, so an encoded CR or LF reaches the response. multipart_start does not check header values for newlines, and do_push does not check the type it prints in each part.

An application that passes request data into these header values can be made to add headers or split the response.

Comment 1 Fedora Update System 2026-11-06 09:52:33 UTC
FEDORA-2026-a04615c725 (perl-CGI-5.02-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a04615c725

Comment 2 Fedora Update System 2026-11-06 09:53:29 UTC
FEDORA-2026-516e427bac (perl-CGI-5.02-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-516e427bac