CVE-2019-14873 In the __multadd function of the newlib libc library, prior to versions 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate a big integer, however no check is performed to verify if the...
MediumCVSS 6.5
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In the __multadd function of the newlib libc library, prior to versions 3.3.0 (see newlib/libc/stdlib/mprec.c), Balloc is used to allocate a big integer, however no check is performed to verify if the allocation succeeded or not. This will trigger a null pointer dereference bug in case of a memory allocation failure.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/newlib(Debian:12) | < 3.3.0-1 | 3.3.0-1 |
| debian/newlib(Debian:13) | < 3.3.0-1 | 3.3.0-1 |
| debian/newlib(Debian:14) | < 3.3.0-1 | 3.3.0-1 |
| debian/picolibc(Debian:12) | < 1.4.3-1 | 1.4.3-1 |
| debian/picolibc(Debian:13) | < 1.4.3-1 | 1.4.3-1 |
| debian/picolibc(Debian:14) | < 1.4.3-1 | 1.4.3-1 |
| newlib project newlib | < 3.3.0 | 3.3.0 |
| redhat newlib | = all newlib versions prior to 3.3.0 | No fix listed |
References
- Debian Security Tracker CVE-2019-14873 vendor-advisory
- census-labs.com exploit third-party-advisory