CVE-2020-7060: global buffer-overflow in mbfl_filt_conv_big5_wchar

Published Jan 21, 2020
·
Updated

A flaw was found in php before 7.4.2. A global buffer overflow in mbflfiltconvbig5wchar function may lead to corruption of memory data.

Upstream issue:

http://bugs.php.net/79037

Other sources

Fixed bug (global buffer-overflow in mbflfiltconvbig5wchar). (CVE-2020-7060)

PHP

When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause function mbflfiltconvbig5wchar to read past the allocated buffer. This may lead to information disclosure or crash.

Affected Software

11 affected componentsFixes available
redhat/rh-php73-php<0:7.3.20-1.el7
0:7.3.20-1.el7
redhat/php<7.4.2
7.4.2
PHP PHP<7.2.27
7.2.27
PHP PHP>=7.2.0<7.2.27
PHP PHP>=7.3.0<7.3.14
PHP PHP>=7.4.0<7.4.2
Tenable Tenable.Sc<5.19.0
Oracle Communications Diameter Signaling Router>=8.0<=8.4
openSUSE Leap=15.1
Debian Debian Linux=8.0
debian/php7.4
7.4.33-1+deb11u57.4.33-1+deb11u11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/rh-php73-php to a version that resolves this vulnerability.

    Fixed in 0:7.3.20-1.el7
  2. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 7.4.2
  3. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 7.2.27
  4. Upgrade

    Upgrade debian/php7.4 to a version that resolves this vulnerability.

    Fixed in 7.4.33-1+deb11u5Fixed in 7.4.33-1+deb11u11
  5. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 7.4.2
  6. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 7.3.14
  7. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 7.2.27
  8. Compensating control

    If upgrading is not immediately possible, avoid using mbstring functions that convert multibyte encodings in affected PHP versions (7.2.x below 7.2.27, 7.3.x below 7.3.14, 7.4.x below 7.4.2) to prevent crafted input from reaching mbfl_filt_conv_big5_wchar.

Event History

Jan 23, 2020
CVE Published
12:00 AM
Feb 10, 2020
CVE Published
via MITRE·07:45 AM
Data Sourced
via MITRE·07:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:52 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·12:23 AM
RemedyDescriptionSeverityAffected Software
Jun 29, 2026
Data Sourced
via Debian·03:45 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-7060?

CVE-2020-7060 is a fixed bug (global buffer-overflow in `mbfl_filt_conv_big5_wchar`).

2

What is the severity of CVE-2020-7060?

The severity of CVE-2020-7060 is critical with a CVSS score of 9.1.

3

Which versions of PHP are affected by CVE-2020-7060?

PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14, and 7.4.x below 7.4.2 are affected by CVE-2020-7060.

4

How can CVE-2020-7060 be exploited?

CVE-2020-7060 can be exploited by supplying data that will cause the function `mbfl_filt_conv_big5_wchar` to read past the allocated buffer, leading to information disclosure.

5

What is the remedy for CVE-2020-7060?

To fix CVE-2020-7060, PHP versions 7.2.27, 7.3.14, and 7.4.2 should be installed, depending on the PHP version being used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203