Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-13480

LOW 3.1EPSS 8%

Out-of-bounds read in LoRaWAN fragmented data block transport (FUOTA) downlink handler

Mitigation

  • Upgrade zephyr to 4.4.2 or later.

Who should check

  • Anyone running zephyrproject zephyr >= 3.7.0, < 4.4.2

Vulnerability facts

Affected
zephyrproject zephyr >= 3.7.0, < 4.4.2
Fixed in
zephyrproject zephyr 4.4.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
3.1 (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: High
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: Low
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-20, CWE-125
Published
Modified

Description

The LoRaWAN TS004 Fragmented Data Block Transport handler frag_transport_package_callback() in subsys/lorawan/services/frag_transport.c parses downlink command bytes without validating that enough payload bytes remain before each access. The loop's only bound is rx_pos < len; after consuming the one-byte command id the handler cast rx_buf + rx_pos to a 10-byte struct frag_transport_setup_req, and for a DATA_FRAGMENT command passed &rx_buf[rx_pos] to the fragment decoder, which reads exactly ctx.frag_size bytes — with no remaining-length check in either case. The fragment size is attacker-chosen in a preceding FRAG_SESSION_SETUP command (ctx.frag_size = req->frag_size, capped at CONFIG_LORAWAN_FRAG_TRANSPORT_MAX_FRAG_SIZE, default 232). rx_buf aliases the 255-byte static MacCtx.RxPayload buffer in the loramac-node MAC layer, while len is the actual decrypted payload length. By padding a downlink with mismatched-index DATA_FRAGMENT filler commands (each advancing rx_pos by three bytes without producing an answer) and appending one matching-index fragment near the end of the payload, an attacker can make the decoder read up to roughly frag_size bytes past the end of RxPayload, copying adjacent static memory into the decoder buffers and the FUOTA flash image. The handler runs only on downlinks that have already passed the LoRaWAN frame MIC and FRMPayload decryption, so the defect is reachable only by a party holding the device's session keys (the FUOTA server or an attacker who has compromised those keys). The out-of-bounds bytes are never returned to the sender — the only uplink emitted is a status answer carrying fragment counts — so there is no direct disclosure channel, and on typical flat-memory LoRaWAN MCUs the over-read stays within mapped memory, making a crash unlikely. The impact is therefore a bounded out-of-bounds read with limited confidentiality consequence and no write or control-flow primitive. The fix adds remaining-length guards before each access.

Affected and fixed versions

Package / productAffectedFixedSource
zephyrproject zephyr>= 3.7.0, < 4.4.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-13480. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-13480.md
Affected: zephyrproject zephyr >= 3.7.0, < 4.4.2
Fixed in: zephyrproject zephyr 4.4.2

Steps:
1. Search this machine and project for zephyrproject zephyr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-13480 being exploited?

There is no confirmed exploitation: CVE-2026-13480 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-13480?

Low: CVSS 3.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-13480?

zephyrproject zephyr >= 3.7.0, < 4.4.2.

Is there a fix for CVE-2026-13480?

Yes. Fixed in zephyrproject zephyr 4.4.2. Upgrade zephyr to 4.4.2 or later.

How do I check if I'm affected by CVE-2026-13480?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors