CVE-2016-4537

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

Published May 22, 2016 CVSS 3.0 · 9.8 Critical EPSS 5.7% KEV · Not listed
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 accepts a negative integer for the scale argument, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-499-1 php5 security update
Debian DLA Debian DLA DLA-628-1 php5 security update
Debian DSA Debian DSA DSA-3602-1 php5 security update
EUVD EUVD EUVD-2016-5524 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 accepts a negative integer for the scale argument, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call.
Ubuntu USN Ubuntu USN USN-2984-1 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
debian
Published
Updated
Aug 6, 2024, 12:32 AM
Reserved
May 5, 2016, 12:00 AM
Status
Modified
Published
May 22, 2016, 1:59 AM
Modified
Jun 17, 2026, 12:47 AM
Severity
Low
Public date
Apr 24, 2016, 12:00 AM