Am I affected?
CVE-2020-7060
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 mbfl_filt_conv_big5_wchar to read past the allocated buffer. This may lead to information disclosure or crash.
Not in the CISA KEV catalog as of the last sync. That means no confirmed exploitation is listed there, not that it is safe.
Exploit probability (FIRST EPSS): 8.89% chance of exploitation activity in the next 30 days (top 5% of all scored CVEs), scored 2026-11-23. EPSS is a likelihood estimate, not proof of attacks.
Check your PHP version
Fixed versions by branch
| Branch | Affected (php.net) | Fixed in |
|---|---|---|
| PHP 7.4 | PHP 7.4 only, 7.4.0 (including) to 7.4.2 (excluding) | 7.4.2 |
| PHP 7.3 | PHP 7.3 only, 7.3.0 (including) to 7.3.14 (excluding) | 7.3.14 |
| PHP 7.2 | PHP 7.2 only, 7.2.0 (including) to 7.2.27 (excluding) | 7.2.27 |
"Fixed in" is shown only when the source gives an exact upper bound. Any later patch in the same branch also has the fix. Linux distributions (Ubuntu, Debian, RHEL) often backport fixes without changing the PHP version number.
Related CVEs
Other PHP CVEs that NVD lists for the same branches.
- CVE-2020-7061 Critical 9.1 · PHP 7.4, 7.3, 7.2 · 2020-02-27
- CVE-2020-7059 Critical 9.1 · PHP 7.4, 7.3, 7.2 · 2020-02-10
- CVE-2020-7067 High 7.5 · PHP 7.4, 7.3, 7.2 · 2020-04-27
- CVE-2020-7062 High 7.5 · PHP 7.4, 7.3, 7.2 · 2020-02-27
- CVE-2020-7069 Medium 6.5 · PHP 7.4, 7.3, 7.2 · 2020-10-02
- CVE-2020-7064 Medium 5.4 · PHP 7.4, 7.3, 7.2 · 2020-04-01
Questions
- Which PHP versions are affected by CVE-2020-7060?
- php.net lists these affected ranges: PHP 7.4 only, 7.4.0 (including) to 7.4.2 (excluding); PHP 7.3 only, 7.3.0 (including) to 7.3.14 (excluding); PHP 7.2 only, 7.2.0 (including) to 7.2.27 (excluding).
- Which PHP version fixes CVE-2020-7060?
- According to php.net, the fix is in PHP 7.4.2, 7.3.14, 7.2.27 (upgrade to that release or any later patch in the same branch).
- Does a version check prove my server is safe from CVE-2020-7060?
- No. The SAPI, web server, operating system, loaded extensions and configuration change whether a bug can be reached, and Linux distributions often backport fixes without changing the upstream version number.
Sources: CVE-2020-7060 on NIST NVD and the php.net ChangeLog. NVD data synced 2026-11-24T03:47:46.548Z. See all PHP CVEs in the CVE explorer.