CVE Database›Document archive›CVE-2026-17544

CVE-2026-17544

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

Loading…

Severity

Important

Red Hat Product Security

8.1

CVSS 3.1

Review impact separately from score.

Published · July 30, 2026

Updated · August 20, 2026

Description

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.

Statement

This is an Important flaw in PHP that could lead to arbitrary code execution due to an out-of-bounds write in the bccomp() function. While exploitation requires high attack complexity, a successful attack could result in stack and heap corruption, potentially compromising the system. This affects PHP 8.4 and 8.5 streams in Red Hat Enterprise Linux 10 and Red Hat In-Vehicle OS 2.0.z.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

CVSS 3.1 · 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-787 · Out-of-bounds Write