# CVE-2026-95826: Out-of-bounds write in the SMSC911x Ethernet driver when transmitting frames larger than the staging buffer

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.40% (percentile 26, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2026-11-20T17:54:14.161Z
- **Modified:** 2026-11-20T19:18:57.790Z

## Who should check

- Anyone running zephyrproject zephyr \>= 1.14.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0

## Description

The SMSC911x/LAN9220 Ethernet driver stages every outgoing frame in a fixed-size static buffer before pushing it to the controller FIFO. eth\_tx() in drivers/ethernet/eth\_smsc911x.c took the frame length from net\_pkt\_get\_len(pkt) and passed it directly to net\_pkt\_read(pkt, tx\_buf, total\_len), with no comparison against the size of tx\_buf (NET\_ETH\_MAX\_FRAME\_SIZE). net\_pkt\_read() takes no destination size and only fails when the packet is shorter than the requested length, so any packet longer than the staging buffer was copied past its end.

Nothing between the IP layer and the driver bounds the frame to what the link can carry: ethernet\_send() in subsys/net/l2/ethernet/ethernet.c performs no length check, and the IPv6 output path only compares the packet against the interface MTU when CONFIG\_NET\_IPV6\_FRAGMENT is enabled (it is disabled by default). The size the stack will build is therefore governed by the interface MTU, and that MTU is remotely settable: handle\_ra\_input() in subsys/net/ip/ipv6\_nbr.c honours the MTU option of any Router Advertisement with a value up to 0xffff, gated only by the standard hop-limit-255 and link-local-source checks. An unauthenticated attacker on the same link can raise the MTU and then have the device emit a single frame of several kilobytes, for example as a TCP segment from any service that returns more than ~1.5 KB or as an oversized UDP datagram.

The result is an out-of-bounds write into .bss immediately after tx\_buf, with the overrun length and much of its content derived from the transmitted frame. Consequences range from corruption of adjacent kernel data and a crash to potential control-flow influence where the clobbered globals hold pointers; the practical overrun size is bounded by the network buffer pool rather than by the advertised MTU. The fix rejects frames larger than NET\_ETH\_MAX\_FRAME\_SIZE with -EMSGSIZE before any TX\_DATA\_PORT write, so the controller FIFO is also not left holding a command word without its payload.

## Affected and fixed versions

- zephyrproject zephyr: \>= 1.14.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0 (cvelist)

## Technologies

Zephyr RTOS

## 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-95826. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-95826.md
Affected: zephyrproject zephyr >= 1.14.0, < 4.3.2; >= 4.4.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.3.2, 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-95826 being exploited?

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

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

High: CVSS 7.5 (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-95826?

zephyrproject zephyr \>= 1.14.0, \< 4.3.2; \>= 4.4.0, \< 4.5.0.

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

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

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

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-r2gv-c3q9-4fmj>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/84de8990c30b13f713ec4913684d214ba85e33d0>

## 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-95826>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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