Bug 2275068 (CVE-2024-2757)

Summary: CVE-2024-2757 php: mb_encode_mimeheader runs endlessly for some inputs
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 8.3.6 Doc Type: ---
Doc Text:
An infinite loop vulnerability was found in PHP. Certain inputs provided to mb_encode_mimeheader trigger an endless loop.
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: 2275069    
Bug Blocks: 2275070    

Description ybuenos 2024-04-15 08:11:12 UTC
Certain inputs provided to mb_encode_mimeheader trigger an endless loop. A discernible pattern has not yet been identified, but a specific string consistently reproduces the issue.

Comment 1 ybuenos 2024-04-15 08:11:30 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 2275069]

Comment 3 Remi Collet 2024-04-16 05:27:31 UTC
This CVE only affects PHP 8.3