Newlib in Zephyr firmware: identifiers and CRA notes
·
What it is
Newlib
Notes on this component
Newlib, the C standard library this build links in (CONFIG_NEWLIB_LIBC). Zephyr takes newlib from the toolchain and does not carry its own copy, so the version is the one in the Zephyr SDK or toolchain release the build used; the .config does not state it and this inventory leaves it blank rather than borrow the Zephyr version. CONFIG_NEWLIB_LIBC_NANO selects newlib's reduced build, which is the same product. Newlib before 3.3.0 has CVE-2019-14871 to CVE-2019-14878, filed under newlib_project:newlib; with no version, a match cannot tell whether the toolchain's newlib is older than that. Identifiers are the same as the ESP-IDF newlib row.
Where it hides in a firmware SBOM
It is compiled into the kernel image when CONFIG_NEWLIB_LIBC is y. It does not appear in west spdx output; the only trace is the .config file in your build directory.
The identifiers we assign
pkg:generic/sourceware/newlib@{version}cpe:2.3:a:newlib_project:newlib:{version}:*:*:*:*:*:*:*
{version} is filled in from your build. The version is read from the version your SBOM already carries for it.
The SBOM check adds these identifiers to a component your build listed without them.
Honest gaps
Vendor: newlib_project.
Where this row comes from
https://github.com/zephyrproject-rtos/zephyr/blob/413b789deb391d3a37d06b463288a5fe765ee57e/lib/libc/Kconfig
Checked on 14 October 2026.
Known vulnerabilities
Not checked yet
Vulnerability data changes daily. Check the version you ship in the SBOM check.
CRA notes
- List this component in your SBOM. Annex I, Part II (1):
- Ship the version with no known exploitable vulnerabilities at release. Annex I, Part I (2(a)):
Source: Annex I of Regulation (EU) 2024/2847 (Cyber Resilience Act), legal state 2026.10.13-1.
Related Zephyr components
No related components yet.
Guides that mention Newlib
Next step
Check the Newlib you ship for known vulnerabilitiesDeclarable prepares documentation for you to review. It is not legal advice and not certification. You sign your own declaration of conformity.