Buffer underflow in bc_shift_addsub
Published Dec 23, 2019
5.3
MEDIUMCVSS 3.1
EPSS 4.08%
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
-
- Version 7.2.xStatusaffectedConstraints<7.2.26
- Version 7.3.xStatusaffectedConstraints<7.3.13
- Version 7.4.xStatusaffectedConstraints<7.4.1
- Version
Configuration 1
Configuration 2
- 8.0
- 9.0
- 10.0
Configuration 3
- 30
- 31
Configuration 5
- 12.04
- 14.04
- 16.04
- 18.04
- 19.04
- 19.10
Configuration 6
- < 5.19.0
No data.
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Enterprise Linux 8
php:7.2/php
Not affected
Red Hat Enterprise Linux 8
php:7.3/php
Not affected
Red Hat Software Collections
rh-php72-php
Not affected
Red Hat Software Collections
rh-php73-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php:7.2/php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php:7.3/php | Not affected | n/a |
| Red Hat Software Collections | rh-php72-php | Not affected | n/a |
| Red Hat Software Collections | rh-php73-php | Not affected | n/a |
No package ranges for this CVE.
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
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (28 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.08% (0.04082) | 90.40th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.08% (0.04082) | 89.37th | v5 (v2026.06.15) |
| Dec 28, 2025 | 8.24% (0.08245) | 91.93th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.97% (0.02968) | 86.12th | v4 (v2025.03.14) |
| Oct 28, 2025 | 7.89% (0.07887) | 91.62th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.83% (0.02829) | 85.69th | v4 (v2025.03.14) |
| Oct 1, 2025 | 7.89% (0.07887) | 91.72th | v4 (v2025.03.14) |
| Jul 30, 2025 | 2.83% (0.02829) | 85.64th | v4 (v2025.03.14) |
| Jul 22, 2025 | 7.89% (0.07887) | 91.60th | v4 (v2025.03.14) |
| Mar 30, 2025 | 9.67% (0.09671) | 92.15th | v4 (v2025.03.14) |
| Mar 29, 2025 | 11.50% (0.11501) | 89.31th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.67% (0.09671) | 92.33th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.38% (0.00380) | 73.79th | v3 (v2023.03.01) |
| Apr 11, 2024 | 0.38% (0.00380) | 72.64th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.36% (0.00360) | 71.41th | v3 (v2023.03.01) |
| Nov 12, 2023 | 0.36% (0.00360) | 69.07th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.38% (0.00375) | 69.67th | v3 (v2023.03.01) |
| Oct 26, 2023 | 0.21% (0.00210) | 58.73th | v3 (v2023.03.01) |
| May 8, 2023 | 0.19% (0.00191) | 55.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.13% (0.00132) | 46.46th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 24.56% (0.24563) | 95.26th | v2 (v2022.01.01) |
| Feb 3, 2022 | 12.48% (0.12481) | 88.86th | v1 |
| Jan 6, 2022 | 12.48% (0.12481) | 88.73th | v1 |
| Sep 1, 2021 | 3.08% (0.03080) | 81.27th | v1 |
| Jul 23, 2021 | 3.08% (0.03080) | 0.00th | v1 |
| Apr 14, 2021 | 2.88% (0.02880) | 0.00th | v1 |
References (18)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.html vendor-advisoryx_refsource_SUSEThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2019-11046 Vendor Advisory
- https://bugs.php.net/bug.php?id=78878 x_refsource_MISCMailing ListPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1786567 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2019/12/msg00034.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2019-11046
- https://seclists.org/bugtraq/2020/Feb/27 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://seclists.org/bugtraq/2020/Feb/31 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://seclists.org/bugtraq/2021/Jan/3 mailing-listx_refsource_BUGTRAQMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20200103-0002/ x_refsource_CONFIRMThird Party Advisory
- https://support.f5.com/csp/article/K48866433?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- https://usn.ubuntu.com/4239-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-11046
- https://www.debian.org/security/2020/dsa-4626 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.debian.org/security/2020/dsa-4628 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.tenable.com/security/tns-2021-14 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.