CVE-2016-4538
Publication date 6 May 2016
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
The bcpowmod function in ext/bcmath/bcmath.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 modifies certain data structures without considering whether they are copies of the _zero_, _one_, or _two_ global variable, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| php7.0 | 16.04 LTS xenial |
Fixed 7.0.4-7ubuntu2.1
|
| 14.04 LTS trusty | Not in release | |
| php5 | 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty |
Fixed 5.5.9+dfsg-1ubuntu4.17
|
|
Patch details
| Package | Patch details |
|---|---|
| php7.0 | |
| php5 |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-2984-1
- PHP vulnerabilities
- 24 May 2016