Skip to content

CVE-2019-14871 The REENT_CHECK macro (see newlib/libc/include/sys/reent.h) as used by REENT_CHECK_TM, REENT_CHECK_MISC, REENT_CHECK_MP and other newlib macros in versions prior to 3.3.0, does not check for memory al...

MediumCVSS 6.5 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known

Description

The REENT_CHECK macro (see newlib/libc/include/sys/reent.h) as used by REENT_CHECK_TM, REENT_CHECK_MISC, REENT_CHECK_MP and other newlib macros in versions prior to 3.3.0, does not check for memory allocation problems when the DEBUG flag is unset (as is the case in production firmware builds).

Affected products

ProductAffected versionsFixed 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