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.
CVE-2016-4538
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-05-14. NVD baseline CVSS 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EPSS
- 92.7%
- KEV
- Not listed
Published
May 22, 2016
Last Modified
May 6, 2026
Advisory Details (7)
Auto-updated May 8, 2026PHP :: Sec Bug #72093 :: bcpowmod accepts negative scale and corrupts _one_ definition
https://bugs.php.net/bug.php?id=72093oss-security - CVE Request: PHP: several issues fixed with 7.0.6, 5.6.21 and 5.5.35
http://www.openwall.com/lists/oss-security/2016/05/05/21Vendor Advisories for CVE-2016-4538(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | php7.0-zip (7.0.4-7ubuntu2.1) @ xenial | 2026-05-20 | ubuntu |
| redhat | rh-php56-php-pear-1:1.9.5-4.el7 | 2016-11-15 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 102 total refreshes for this CVE.
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 11:25 UTCOSV refresh
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-30 19:53 UTCOSV refresh
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-24 16:43 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-21 22:40 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 08:07 UTCEG score recompute
- 2026-05-20 08:07 UTCVendor advisory
- 2026-05-20 08:07 UTCGHSA enrichment
- 2026-05-20 04:14 UTCEG score recompute
- 2026-05-20 04:14 UTCVendor advisory
- 2026-05-20 04:14 UTCGHSA enrichment
- 2026-05-20 00:22 UTCEG score recompute
- 2026-05-20 00:22 UTCVendor advisory
- 2026-05-20 00:22 UTCGHSA enrichment
- 2026-05-19 20:30 UTCEG score recompute
- 2026-05-19 20:30 UTCVendor advisory
- 2026-05-19 20:30 UTCGHSA enrichment
- 2026-05-19 16:36 UTCEG score recompute
- 2026-05-19 16:36 UTCVendor advisory
- 2026-05-19 16:36 UTCGHSA enrichment
- 2026-05-19 12:39 UTCEG score recompute
- 2026-05-19 12:39 UTCVendor advisory
- 2026-05-19 12:39 UTCGHSA enrichment
- 2026-05-19 08:35 UTCEG score recompute
- 2026-05-19 08:35 UTCVendor advisory
- 2026-05-19 08:34 UTCGHSA enrichment
- 2026-05-19 04:41 UTCEG score recompute
- 2026-05-19 04:41 UTCVendor advisory
- 2026-05-19 04:41 UTCGHSA enrichment
- 2026-05-19 00:48 UTCEG score recompute
- 2026-05-19 00:48 UTCVendor advisory
- 2026-05-19 00:48 UTCGHSA enrichment
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2016-4538?
When was CVE-2016-4538 disclosed?
Is CVE-2016-4538 actively exploited?
What is the CVSS score of CVE-2016-4538?
How do I remediate CVE-2016-4538?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2016-4538
Is Your Infrastructure Affected by CVE-2016-4538?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.