Description
In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP bcmath extension functions on some systems, including Windows, can be tricked into reading beyond the allocated space by supplying it with string containing characters that are identified as numeric by the OS but aren't ASCII numbers. This can read to disclosure of the content of some memory locations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PHP Group | PHP | 7.2.x – < 7.2.26, 7.3.x – < 7.3.13, 7.4.x – < 7.4.1 | 7.2.26 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 10 | php7.3 | 7.3.14-1~deb10u1 | DSA-4626-1 |
| Debian 9 | php7.0 | 7.0.33-0+deb9u7 | DSA-4628-1 |
| Debian 8 | php5 | 5.6.40+dfsg-0+deb8u8 | DLA-2050-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | php7.2 | 7.2.24-0ubuntu0.18.04.2 | USN-4239-1 |
| Ubuntu 16.04 LTS | php7.0 | 7.0.33-0ubuntu0.16.04.9 | USN-4239-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.29+esm8 | USN-4239-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | php7 | 7.2.5-4.49.1 | SUSE-SU-2022:4067-1, SUSE-SU-2020:0101-1 |
| SLES 15 | php7 | 7.2.5-4.49.1 | SUSE-SU-2022:4067-1, SUSE-SU-2020:0101-1 |
| SLES 12 SP5 | php7 | 7.0.7-50.91.1 | SUSE-SU-2020:0352-1 |
| SLES 12 SP5 | php72 | 7.2.5-1.32.1 | SUSE-SU-2020:0267-1 |
| SLES 12 SP4 | php5 | 5.5.14-109.68.1 | SUSE-SU-2020:0522-1 |
| SLES 12 SP4 | php7 | 7.0.7-50.91.1 | SUSE-SU-2020:0352-1 |
| SLES 12 SP4 | php72 | 7.2.5-1.32.1 | SUSE-SU-2020:0267-1 |
| SLES 12 | php5 | 5.5.14-109.68.1 | SUSE-SU-2020:0522-1 |
| SLES 12 | php7 | 7.0.7-50.91.1 | SUSE-SU-2020:0352-1 |
| SLES 12 | php72 | 7.2.5-1.32.1 | SUSE-SU-2020:0267-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | php53 | 5.3.17-112.79.1 | SUSE-SU-2020:14289-1 |
| SLES for SAP 15 SP1 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLES for SAP 15 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLE HPC 15 SP1 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLE HPC 15 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | php53 | 5.3.17-112.79.1 | SUSE-SU-2020:14289-1 |
| SUSE Enterprise Storage 6 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php7 | 7.4.24-1.1 | openSUSE-SU-2024:11167-1 |
| openSUSE Tumbleweed | php8 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
| openSUSE Leap 15.4 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| openSUSE Leap 15.1 | php7 +1 | 7.2.5-lp151.6.19.2 | openSUSE-SU-2020:0080-1 |
Advisories 16
- USN-4239-1 php5, php7.0, php7.2, php7.3 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4626-1 php7.3 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4628-1 php7.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2050-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:4067-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:14289-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0101-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11167-1 php7-7.4.24-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0352-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11169-1 php8-8.0.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0267-1 Security update for php72 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0522-1 Security update for php5 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- ICSA-26-027-02 Festo Didactic SE MES PC CISA ICS & IT advisories · Jan 27, 2026
- FSA-202402 Several Vulnerabilities in MES PC (Windows 10) CERT@VDE · Dec 8, 2025
- openSUSE-SU-2020:0080-1 Security update for php7 SUSE / openSUSE Security Updates · May 7, 2025
References
- https://bugs.php.net/bug.php?id=78878
- [debian-lts-announce] 20191229 [SECURITY] [DLA 2050-1] php5 security update mailing-list
- https://security.netapp.com/advisory/ntap-20200103-0002/
- FEDORA-2019-437d94e271 vendor-advisory
- FEDORA-2019-a54a622670 vendor-advisory
- https://support.f5.com/csp/article/K48866433?utm_source=f5support&%3Butm_medium=RSS
- USN-4239-1 vendor-advisory
- openSUSE-SU-2020:0080 vendor-advisory
- 20200218 [SECURITY] [DSA 4626-1] php7.3 security update mailing-list
- DSA-4626 vendor-advisory
- DSA-4628 vendor-advisory
- 20200219 [SECURITY] [DSA 4628-1] php7.0 security update mailing-list
- 20210116 Re: [SECURITY] [DSA 4628-1] php7.0 security update mailing-list
- https://www.tenable.com/security/tns-2021-14