# CVE-2026-19673: Out-of-bounds read and net\_buf length underflow in Zephyr Ethernet L2 when parsing a truncated VLAN header

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-10-14T16:45:57.967Z
- **Modified:** 2026-10-16T16:17:05.187Z

## Who should check

- Anyone running zephyrproject zephyr \>= 1.12.0, \< 4.5.0

## Description

ethernet\_recv() in subsys/net/l2/ethernet/ethernet.c validates only that the first net\_buf of a received frame holds a plain 14-byte struct net\_eth\_hdr. When the ethertype is 0x8100 and VLAN is enabled on the interface, the same buffer is reinterpreted as the 18-byte struct net\_eth\_vlan\_hdr without re-checking the length: the VLAN TCI and the inner ethertype are read from offsets 14..17, past pkt-\>buffer-\>len, and hdr\_len is raised to 18 so the subsequent net\_buf\_pull() removes more bytes than the buffer holds.

A single unauthenticated frame of 14 to 17 bytes carrying the VLAN ethertype triggers this. No knowledge of the node's VLAN configuration is needed: net\_eth\_get\_vlan\_iface() returns the base interface for the priority tag 0, and a broadcast destination address satisfies the "frame is for me" test, so a 16-byte broadcast frame with ethertype 0x8100 and TCI 0x0000 reaches the pull. Nothing in the receive path enforces the 60-byte Ethernet minimum — the USB CDC ECM and CDC NCM gadget classes in particular hand host-supplied frames of any non-zero length straight to net\_recv\_data().

With assertions enabled, net\_buf\_simple\_pull() asserts and the node panics. In a production build (assertions and CONFIG\_NET\_BUF\_HARDENING off) the uint16\_t buffer length underflows to 65534 and buf-\>data is advanced past the end of the fragment's storage, so every later parser reads far outside the buffer and any net\_buf\_add() on that fragment computes tailroom from the underflowed length. The result is a reliable remote denial of service and out-of-bounds access with information-disclosure and corruption potential.

Only configurations built with CONFIG\_NET\_VLAN=y that have a VLAN enabled on the receiving Ethernet interface, and whose MAC does not strip VLAN tags in hardware (ETHERNET\_HW\_VLAN\_TAG\_STRIP), are affected. The fix rejects the frame before the tag is read, so hdr\_len is thereafter either 14 or 18 with both sizes validated against pkt-\>buffer-\>len.

## Affected and fixed versions

- zephyrproject zephyr: \>= 1.12.0, \< 4.5.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-19673.md
Affected: zephyrproject zephyr >= 1.12.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.5.0

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.
```

## FAQ

### Is CVE-2026-19673 being exploited?

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

### How serious is CVE-2026-19673?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-19673?

zephyrproject zephyr \>= 1.12.0, \< 4.5.0.

### Is there a fix for CVE-2026-19673?

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

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

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.

## References

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-79rf-rwff-f4vg>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/fd3c6fedf6b639977a80e52b680b15672c31f3ef>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-19673>

HTML: <https://flawdb.com/CVE-2026-19673> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-19673>
