p PatchFirst

CVE-2020-7065

CVE-2020-7065 · mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full

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

In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.

CVSS 7.4 · High · EPSS 4.9% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • php

    Versions
    • ≥ 7.3.x, < 7.3.16: Affected (custom)
    • ≥ 7.4.x, < 7.4.4: Affected (custom)

    Update to 7.3.16; Update to 7.4.4

  • php7.4 Debian:11

    Affected ranges
    • ECOSYSTEM: < 7.4.5-1

    Update to 7.4.5-1

  • php7.4 Ubuntu:20.04:LTS

    Versions
    • 7.4.3-4build1
    • 7.4.3-4build2
    • 7.4.3-4ubuntu1
    Affected ranges
    • ECOSYSTEM: < 7.4.3-4ubuntu1.1

    Update to 7.4.3-4ubuntu1.1

Original sources

Check your server →