CVE-2026-107468
Predictable TCP initial sequence numbers in Zephyr TCP stack due to undersized RFC 6528 hash buffer
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.
INFO
Published Date :
Dec. 6, 2026, 4:17 p.m.
Last Modified :
Dec. 6, 2026, 4:17 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-107468
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | e2e69745-5e70-4e92-8431-deb5529a81ad | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Ensure crypto hash output buffer is correctly sized.
- Check crypto hash function return status.
- Use random data if hash computation fails.
- Update to patched versions or apply provided fix.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-107468.
| URL | Resource |
|---|---|
| https://github.com/zephyrproject-rtos/zephyr/commit/f98adb866fc0b75a21dc649d0c1f31b389ac7eaf | |
| https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vrhm-4557-8r42 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-107468 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-107468
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-107468 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-107468 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Dec. 06, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L Added CWE CWE-330 Added CWE CWE-252 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/107xxx/CVE-2026-107468.json">CVE-2026-107468</a> Added Reference https://github.com/zephyrproject-rtos/zephyr/commit/f98adb866fc0b75a21dc649d0c1f31b389ac7eaf Added Reference https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-vrhm-4557-8r42