All reports
High

php: PHP: Arbitrary code execution via out-of-bounds write in bccomp()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-17544

Probability of exploitation in the next 30 days: 0.42%

FIRST EPSS · 2026-11-20

Description

Attacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption in PHP versions from 8.4.* before 8.4.24 and from 8.5.* before 8.5.9.

A flaw was found in PHP. A remote attacker could exploit this vulnerability by providing specially crafted inputs to the bccomp() function. This could lead to an out-of-bounds write, resulting in stack and heap corruption. Such memory corruption can enable arbitrary code execution, allowing the attacker to take control of the affected system.