CVE-2019-11046
Buffer underflow in bc_shift_addsub
Reported by php · Published December 23, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| securitycenter | tenable | 5.19.0 |
| php7.2 | Ubuntu:18.04:LTS | 7.2.24-0ubuntu0.18.04.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 7.2.x, 7.3.x, 7.4.x |
| PHP Group | PHP | 7.2.x, 7.3.x, 7.4.x |
Timeline
- Dec 18, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 28, 2021 PoC Published (5 in total, the first dated here)
- Oct 14, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 16, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-11046
vulnetix vdb fixes CVE-2019-11046
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-11046/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [debian-lts-announce] 20191229 [SECURITY] [DLA 2050-1] php5 security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- FEDORA-2019-437d94e271 vendor-advisoryx_refsource_FEDORA
- FEDORA-2019-a54a622670 vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- USN-4239-1 vendor-advisoryx_refsource_UBUNTU
- openSUSE-SU-2020:0080 vendor-advisoryx_refsource_SUSE
- 20200218 [SECURITY] [DSA 4626-1] php7.3 security update mailing-listx_refsource_BUGTRAQ
- DSA-4626 vendor-advisoryx_refsource_DEBIAN
- DSA-4628 vendor-advisoryx_refsource_DEBIAN
- 20200219 [SECURITY] [DSA 4628-1] php7.0 security update mailing-listx_refsource_BUGTRAQ
- 20210116 Re: [SECURITY] [DSA 4628-1] php7.0 security update mailing-listx_refsource_BUGTRAQ
- x_refsource_CONFIRM