CVE-2026-104377
CVE-2026-104377 — Out-of-bounds read via unterminated TFTP ERROR message in Zephyr TFTP client
The Zephyr TFTP client library (subsys/net/lib/tftp/tftp_client.c) reports server ERROR packets to the application through a TFTP_EVT_ERROR event whose evt.param.error.msg field is a bare char * pointing at client->tftp_buf + TFTP_HEADER_SIZE, with no length. RFC 1350 requires the ERROR message to be NUL-terminated, but tftp_get(), tftp_put() and send_data() never checked or enforced this before invoking the callback. A TFTP server (or an on-path/spoofing attacker able to inject a UDP datagram from the server's address) can answer a client request with a full-size 516-byte ERROR datagram whose message has no terminator. The callback then receives a string that runs to the end of tftp_buf, which is the last member of the application-owned struct tftpc, so any string operation on it (for example the %s logging done by the in-tree sample and net tftp shell callbacks) reads past the end of the object until a stray zero byte is found. A 4-byte ERROR with no message similarly exposes stale, possibly unterminated buffer contents from the previous packet. The impact is an out-of-bounds read of memory adjacent to the struct tftpc object in the context of the application callback. Depending on what the application does with the message, this can disclose adjacent memory (e.g. into logs or anything the application forwards) or fault if the read reaches unmapped or protected memory. No out-of-bounds write is possible. The fix NUL-terminates the message inside tftp_buf at the received length, clamped to the last byte of the buffer.
Published Updated Sources: NVD, zephyrproject (CNA), GitHub
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
3.7
low
Remediation
The vendor's own words where we have them.
Upgrade Zephyr to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Zephyrproject | zephyr | 3.4.0 to < 4.3.2 | Vulnerable |
| Zephyrproject | zephyr | 4.4.0 to < 4.5.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
Low
Integrity
None
Scope
Unchanged
Attack Complexity
High
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 3.7 | CVSS 3.1 | low | 2.2 | 1.4 | zephyrproject.org (CNA), zephyrproject (CNA) |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness & attack patterns
- CWE-125Out-of-bounds Read
Inferred from the weakness class — not observed against this CVE.
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /net/lib/tftp/tftp_client.c), /spoofing.
- Prioritize edge telemetry for network-reachable Zephyr.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 3.7 (AV:N)
Nov 29, 2026 · NVD
Initial · CVE published
Nov 29, 2026 · NVD
References
2 on the record
- github.com/zephyrproject-rtos/zephyr/commit/c6389cc2295be461cd9177090481a1d8a2bb5636
Exploit, Third Party Advisory
- github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-g2h6-wxf8-crvg
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-130477 Kernel user mode: dynamic thread and stack objects can be freed while their thread is still running or exiting (use-after-free)CVSS 8.8
- CVE-2026-12234 TOCTOU double-fetch in `zsock_sendmsg`/`recvmsg` userspace verifiers allows kernel-heap out-of-bounds writeCVSS 7.8
- CVE-2026-12520 Stack buffer overflow and off-by-one writes in Zephyr HL7800 modem AT response handlersCVSS 6.4
- CVE-2026-9728 TOCTOU race in mbox_send syscall verifier allows userspace to leak kernel memoryCVSS 6.4
- CVE-2026-12235 Out-of-bounds write in Xtensa llext PLT relocation from malformed ELF (CWE-787)CVSS 6.3
- CVE-2026-12232 Out-of-bounds read via unvalidated stream_id in Intel ALH DAI get_propertiesCVSS 6.1
Elsewhere on this site
- Zephyrprojectevery CVE for this vendor
- Memory Corruptionsame class
- CWE-125other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-104377 is Out-of-bounds read via unterminated TFTP ERROR message in Zephyr TFTP client, a low vulnerability affecting Zephyr from Zephyrproject. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-104377. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-104377. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 3.7 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.