p PatchFirst

CVE-2024-2757

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 1.9% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • php

    Versions
    • ≥ 8.3.*, < 8.3.5: Affected (semver)

    Update to 8.3.5

  • php8.3 Ubuntu:24.04:LTS

    Versions
    • 8.3.0-1
    • 8.3.0-1ubuntu1
    • 8.3.4-1
    • 8.3.4-1build1
    Affected ranges
    • ECOSYSTEM: < 8.3.6-0maysync1

    Update to 8.3.6-0maysync1

Original sources

Check your server →