CVE-2019-14871

NameCVE-2019-14871
DescriptionThe 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
newlib (PTS)jessie2.1.0+git20140818.1a8323b-2vulnerable
stretch2.4.0.20160527-2vulnerable
buster3.1.0.20181231-1vulnerable
bullseye3.3.0-1fixed
bookworm3.3.0-1.3+deb12u1fixed
sid, trixie4.4.0.20231231-4fixed
picolibc (PTS)bullseye1.5.1-2fixed
bookworm1.8-1fixed
sid, trixie1.8.8-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
newlibsourcewheezy(unfixed)end-of-life
newlibsource(unstable)3.3.0-1
picolibcsource(unstable)1.4.3-1

Notes

[buster] - newlib <no-dsa> (Minor issue)
[stretch] - newlib <no-dsa> (Minor issue)
[jessie] - newlib <ignored> (Minor issue)
https://census-labs.com/news/2020/01/31/multiple-null-pointer-dereference-vulnerabilities-in-newlib/
https://keithp.com/blogs/picolibc-string-float/

Search for package or bug name: Reporting problems