JSON library in Zephyr firmware: identifiers and CRA notes
·
What it is
JSON library
Notes on this component
Zephyr's JSON encoder and decoder. CVE family is decoding of untrusted input: token and nesting handling, and the bounds of the caller-supplied descriptor it decodes into. Worth naming because JSON usually sits directly on a network input. One advisory is filed against the JSON library: CVE-2021-3510, where the decoder mis-decodes an array of arrays, fixed in 2.7.0. None has been filed since, as of 9 October 2026. That is a statement about the advisory record and not about the code, which for the reason above is worth reviewing whatever the record says.
Where it hides in a firmware SBOM
It is compiled into the kernel image when CONFIG_JSON_LIBRARY 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
cpe:2.3:o:zephyrproject:zephyr:{version}:*:*:*:*:*:*:*
{version} is filled in from your build. The version is the same as your Zephyr version.
The SBOM check adds these identifiers to a component your build listed without them.
Honest gaps
Vendor: zephyrproject.
This row has no PURL.
Where this row comes from
https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-289f-7mw3-2qf4
Checked on 9 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)):
- An SBOM without this subsystem under-reports what is in the image. Annex I, Part II (1):
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 JSON library
Next step
Check the JSON library 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.