7.5

CVE-2024-2757: PHP mb_encode_mimeheader runs endlessly for some inputs

Modified
AliasesUBUNTU-CVE-2024-2757ALPINE-CVE-2024-2757
Published 29-04-2024Last modified 04-11-2025

Vulnerability summary

CVE-2024-2757 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in php group php. EPSS estimates a 1.92% chance of exploitation in the next 30 days, higher than 79.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.92%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 29-04-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

Description

In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space. This could lead to a potential DoS attack if a hostile user sends data to an application that uses this function.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.92%

Chance of exploitation in the next 30 days

Percentile

80%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.92% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Php Src

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • php83< 8.3.6-r0 | < 8.3.5-r0
Php1 product
  • php≥ 8.3.0, < 8.3.5
Php group1 product
  • php≥ 8.3.*, < 8.3.5
Ubuntu1 product
  • php8.3< 8.3.6-0maysync1

4 vendors · 4 products

References

8 links