Back

CRITICAL

php: bcpowmod accepts negative scale causing heap buffer overflow corrupting _one_ definition

Published May 22, 2016

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner debian
Published May 22, 2016
Updated Aug 6, 2024
Reserved May 5, 2016
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Apr 24, 2016