CVE-2026-13479Zephyrproject Zephyr out-of-bounds read
CVSS score
4.3
Medium
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.23%
0.23% chance of exploitation in the next 30 days, higher than 13.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
The LoRaWAN application-layer clock-synchronization service parses downlinks in clock_sync_package_callback() (subsys/lorawan/services/clock_sync.c). Its command loop only guarantees that the one-byte command id is in bounds; for the CLOCK_SYNC_CMD_APP_TIME (AppTimeAns) command the handler then reads a 4-byte time correction via sys_get_le32() plus a 1-byte token without checking that 5 bytes remain in the receive buffer (len - rx_pos). A short or crafted AppTimeAns therefore reads up to 5 bytes past the end of the decrypted payload.
The payload (rx_buf/len) is the decrypted application frame delivered to the registered downlink callback (mcps_indication->Buffer/BufferSize). Reaching the handler requires a frame on the clock-sync port that passes LoRaWAN's MAC integrity check and FRMPayload decryption, so the practical attacker is a malicious or compromised network/application server (the designated sender of AppTimeAns) or a party holding the session keys, rather than an arbitrary radio listener.
The over-read is bounded: the backing store is a fixed 255-byte static buffer, so the few stray bytes do not fault, and the read values (time_correction, token) are used only internally and never transmitted, so there is no disclosure to the attacker and no crash. The sole effect is that a stale token matching ctx.req_token can apply a garbage time_correction to the device's own clock offset (ctx.time_offset), a minor integrity impact confined to the victim's time estimate. The fix adds an explicit length check that drops a too-short AppTimeAns. Note the sibling one-byte reads in the periodicity and force-resync handlers remain unguarded with the same negligible impact.
Source: NVD · CNA: vulnerabilities@zephyrproject.org
How to fix it, step by step
Check whether you're affected
Find every system running zephyrproject Zephyr and compare its version with the affected versions.
Update to a fixed version
- Update Zephyr to 4.3.2, 4.4.2 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Adjacent
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| zephyrproject Zephyr | ≥ 3.3.0, < 4.4.2 · ≥ 3.3.0, < 4.3.2 · ≥ 4.4.0, < 4.4.2 |
Weakness
- CWE-125 out-of-bounds read
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-13479 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-13479?
CVE-2026-13479 has a CVSS 3.1 base score of 4.3 (medium).
Which versions are affected?
Zephyrproject Zephyr (≥ 3.3.0, < 4.4.2; ≥ 3.3.0, < 4.3.2; ≥ 4.4.0, < 4.4.2)
Is there a patch for CVE-2026-13479?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/zephyrproject-rtos/zephyr/commit/3d578067652b12993bca13fb8e07dc45d062d4a5(Patch)
- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2m6g-p3vx-p2fh(Exploit, Patch, Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.