Zephyr predictable ISNs in TCP stack enable session injection
- Exploited
- No known exploitation
- Fix
- Fixed in 4.3.2, 4.5.0
- Who is exposed
- Not reported
Summary
Zephyr's TCP stack generated predictable initial sequence numbers in builds with RFC 6528 ISN enabled, which is the default whenever SHA-256 is selected for TLS, credentials, mcumgr, updatehub, or IPv6 privacy options. A remote attacker who can reach the device over the network without logging in could observe one SYN-ACK to learn the counter phase, then predict sequence numbers to reset connections or, when sessions are unencrypted, inject data into them.
Written by a model
Original description
The RFC 6528 initial sequence number (ISN) generator in the Zephyr TCP stack (subsys/net/ip/tcp.c, tcpv4_init_isn() / tcpv6_init_isn()) asked psa_hash_compute() for a SHA-256 digest into a 16-byte buffer and ignored the return status. SHA-256 needs 32 bytes, so the call always failed with PSA_ERROR_BUFFER_TOO_SMALL. With the built-in Mbed TLS / TF-PSA-Crypto driver, the output buffer is filled with '!' on failure, so the keyed hash term was the constant 0x21212121. With other PSA drivers the term was uninitialized stack contents. In both cases the ISN no longer depends on the secret key or on the connection four-tuple.
As a result, the ISN of every TCP connection (active and passive opens) was a constant plus a coarse uptime-derived counter (k_ticks_to_ns_floor32(k_uptime_ticks()) >> 6). This affects any build with CONFIG_NET_TCP and CONFIG_NET_TCP_ISN_RFC6528. That option is enabled by default whenever PSA_WANT_ALG_SHA_256 is selected, for example by the TLS ciphersuites, tls_credentials, mcumgr, updatehub, or the IPv6 privacy options. An off-path network attacker can learn the current counter phase by observing a single SYN-ACK from the device, then predict the sequence numbers of other connections.
With predictable ISNs, an off-path attacker can blind-spoof TCP connections from trusted source addresses, inject data into unencrypted TCP sessions, or reset established connections with in-window RST segments. This is the attack class RFC 6528 is meant to prevent. Sessions protected end to end (for example by TLS) are exposed only to connection resets. The fix sizes the buffer with PSA_HASH_LENGTH(), checks the PSA status, and falls back to sys_rand32_get() when the hash cannot be computed.
What to do
Upgrade to a fixed version: 4.3.2, 4.5.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-107468 (Predictable TCP initial sequence numbers in Zephyr TCP stack due to undersized RFC 6528 hash buffer), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-107468 (entry last updated 2026-12-06):
Affected:
- zephyrproject zephyr: from 3.7.0, fixed in 4.3.2; from 4.4.0, fixed in 4.5.0
Fixed versions: 4.3.2, 4.5.0.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-107468 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-107468 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/zephyrproject-rtos/zephyr/commit/f98adb866fc0b75a21dc649d0c1f31b389ac7eaf
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vrhm-4557-8r42
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-107468
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-107468"}.Affected versions
- zephyrFrom 3.7.0 · fixed in 4.3.2; From 4.4.0 · fixed in 4.5.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity4.8/10CVSS 4.8
- No patch0/5No signal
What would change the score
- Would score about 67 if added to CISA KEV
- Would score about 62 if CISA's SSVC rates exploitation active
- Would score about 27 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · zephyrproject-rtos/zephyr · Advisory GHSA-vrhm-4557-8r42 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-107468 |
| Record | NVD · CVE-2026-107468 |
| Other links 1 | |
| Patch | GitHub · zephyrproject-rtos/zephyr · Commit f98adb86 |
Questions about CVE-2026-107468
Is CVE-2026-107468 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-107468?
zephyr: from 3.7.0 before 4.3.2; from 4.4.0 before 4.5.0.
Source: cve.now feed data
How do I fix CVE-2026-107468?
Upgrade to a fixed version: 4.3.2, 4.5.0.
Source: cve.now feed data
Related
- CVE-2026-104378Out-of-bounds write in DesignWare I3C driver direct CCC handling via unbounded target count
- CVE-2026-130477Kernel user mode: dynamic thread and stack objects can be freed while their thread is still running or exiting (use-after-free)
- CVE-2026-93466Integer wraparound in bbram_read and bbram_write syscalls allows user threads to read and overwrite kernel memory below the BBRAM region
- CVE-2026-104376Use-after-free write through dangling object-core list node in Zephyr kernel obj_core
- CVE-2026-107469LwM2M client write handlers skip access checks for payload-supplied paths, allowing servers to write the Security object
- CVE-2026-86092Use-after-free in the I2S configure system call when a dynamically allocated memory slab is retained by the driver
No corrections so far. Something wrong on this page? Report an error.