Back

MEDIUM

Buffer underflow in bc_shift_addsub

Published Dec 23, 2019

Description

In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP bcmath extension functions on some systems, including Windows, can be tricked into reading beyond the allocated space by supplying it with string containing characters that are identified as numeric by the OS but aren't ASCII numbers. This can read to disclosure of the content of some memory locations.

Affected products

Remediation

Red Hat statement

Any version of PHP as shipped with Red Hat Enterprise Linux are not affected. This flaw affected php running only on top of Windows Operating System, the bug itself is related to OS specific isdigit() function implementation.

Metrics

References (18)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner php
Published Dec 23, 2019
Updated Sep 16, 2024
Reserved Apr 9, 2019
NVD
Status Modified
Modified Aug 17, 2026
Red Hat
Severity Low
Public date Dec 16, 2019