{"id":"CVE-2019-11046","published":"2019-12-23T02:40:17Z","modified":"2024-09-16T17:52:45Z","title":"Buffer underflow in bc_shift_addsub","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04116,"percentile":0.91021,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://bugs.php.net/bug.php?id=78878","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00034.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20200103-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N7GCOAE6KVHYJ3UQ4KLPLTGSLX6IRVRN/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWRQPYXVG43Q7DXMXH6UVWMKWGUW552F/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://support.f5.com/csp/article/K48866433?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4239-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00036.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://seclists.org/bugtraq/2020/Feb/27","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.debian.org/security/2020/dsa-4626","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.debian.org/security/2020/dsa-4628","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2020/Feb/31","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://seclists.org/bugtraq/2021/Jan/3","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":18.2},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 7.2.x, < 7.2.26",">= 7.3.x, < 7.3.13",">= 7.4.x, < 7.4.1"]}],"summary":{"text":"The flaw is an out-of-bounds read in PHP's bcmath extension (the bc_shift_addsub routine), affecting PHP 7.2.x before 7.2.26, 7.3.x before 7.3.13, and 7.4.0, particularly on some systems including Windows. An unauthenticated remote attacker can exploit it over the network by supplying a crafted string containing non-ASCII characters that the operating system treats as numeric, causing bcmath functions to read beyond allocated memory and disclose some memory contents, with the attack requiring high complexity and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:08Z"},"euvd":{"id":"EUVD-2019-2754","exploited":false,"provenance":"source"}}