CVE-2016-4538
publishedphp: bcpowmod accepts negative scale causing heap buffer overflow corrupting _one_ definition
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | debian |
| Debian | jessie | php5 | Advisory build | 5.6.22+dfsg-0+deb8u1 | DSA-3602-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56src | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| SUSE / openSUSE | SLE-11-SP2 | apache2-mod_php53i586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| Debian | wheezy | php5 | Advisory build | 5.4.45-0+deb7u5 | DLA-628-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56x86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-imapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-tidyx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56src | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56x86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| SUSE / openSUSE | SLE-11-SP2 | apache2-mod_php53s390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | apache2-mod_php53x86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53i586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53s390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53x86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-bcmathi586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-bcmaths390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-bcmathx86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-bz2i586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-bz2s390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-bz2x86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-calendari586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-calendars390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-calendarx86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-ctypei586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-ctypes390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-ctypex86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-curli586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-curls390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-curlx86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-dbai586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-dbas390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-dbax86_64 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-domi586 | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
| SUSE / openSUSE | SLE-11-SP2 | php53-doms390x | Advisory build | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | debian · cna |
Weaknesses
1- n/a
References
15- FEDORA-2016-f4e73663f4 http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183736.html
- openSUSE-SU-2016:1357 http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html
- openSUSE-SU-2016:1524 http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- RHSA-2016:2750 http://rhn.redhat.com/errata/RHSA-2016-2750.html
- DSA-3602 http://www.debian.org/security/2016/dsa-3602
- [oss-security] 20160505 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/21
- 90173 http://www.securityfocus.com/bid/90173
- https://bugs.php.net/bug.php?id=72093
- https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=d650063a0457aec56364e4005a636dc6c401f9cd
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- GLSA-201611-22 https://security.gentoo.org/glsa/201611-22
Provider assertions
2debian · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 91281c35543fa010fa74fb2effaa3db5b64e7fc16149e95f9ee3fdb171cf11f9
- Ingested
- 23 Sep 2026, 07:41:21 UTC
- Source record
- Official CVE record