CVE-2019-11046

Buffer underflow in bc_shift_addsub

MEDIUM
5.3
CVSS Score
Published: December 23, 2019 at 02:40 AM UTC
Updated: August 17, 2026 at 02:50 PM UTC
6 products affected across 6 vendorsDebian LinuxFedoraUbuntu Linux

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
7.2.0 ≤ v ≤ 7.2.267.2.x ≤ v < 7.2.267.3.0 ≤ v ≤ 7.3.137.3.x ≤ v < 7.3.137.4.x ≤ v < 7.4.17.2.x7.3.x7.4.07.4.x
Affected range stops below 7.2.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.13, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.1, so it looks safe — our inference, not a vendor statement
v < 5.19.0
Affected range stops below 5.19.0, so it looks safe — our inference, not a vendor statement

References (14)

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card