Live threats

All CVEs / Php

CVE-2016-4538Php

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
6.1%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
May 22, 2016
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.5.33
phpphp5.6.0
phpphp5.6.1
phpphp5.6.2
phpphp5.6.3
phpphp5.6.4
phpphp5.6.5
phpphp5.6.6
phpphp5.6.7
phpphp5.6.8
phpphp5.6.9
phpphp5.6.10
phpphp5.6.11
phpphp5.6.12
phpphp5.6.13
phpphp5.6.14
phpphp5.6.15
phpphp5.6.16
phpphp5.6.17
phpphp5.6.18
phpphp5.6.19
phpphp5.6.20
phpphp7.0.0
phpphp7.0.1
phpphp7.0.2
phpphp7.0.3
phpphp7.0.4
phpphp7.0.5
fedoraprojectfedora24
opensuseleap42.1

Official sources

References

Links published by the sources. Open them with care.