- Description
- In Zephyr's WireGuard subsystem (subsys/net/lib/wireguard), wg_process_data_message() in wg_crypto.c linearizes an inbound transport-data payload into a fixed pool buffer of CONFIG_WIREGUARD_BUF_LEN bytes before decryption. The call net_buf_linearize(buf->data, data_len, pkt->buffer, ..., data_len) passed the attacker-derived data_len as both the destination capacity and the copy length, defeating the function's internal len = min(len, dst_len) bound. data_len is derived from the received UDP datagram length and is only lower-bounded by wg_ctrl_recv() (no upper bound). When data_len exceeds CONFIG_WIREGUARD_BUF_LEN — e.g. when the buffer length is lowered below the link MTU, on links with MTU above the buffer size, or via reassembled IPv4/IPv6 fragments that exceed it — the underlying memcpy writes past the end of the pool buffer, an out-of-bounds write (CWE-787). The overflow occurs before the Poly1305 authentication check, so it requires only a valid receiver session index rather than a valid authenticator, and is reachable by a malicious or compromised peer (or an on-path attacker driving an established session) over the network, yielding remote memory corruption and at minimum a reliable denial of service. The defect was present in the WireGuard implementation shipped in Zephyr 4.4.0. The fix adds an explicit data_len > CONFIG_WIREGUARD_BUF_LEN rejection and corrects the linearize call to pass net_buf_max_len(buf) as the destination capacity.
- Source
- vulnerabilities@zephyrproject.org
- NVD status
- Analyzed
- Products
- zephyr
CVSS 3.1
- Type
- Secondary
- Base score
- 7.4
- Impact score
- 5.2
- Exploitability score
- 2.2
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- Severity
- HIGH
- vulnerabilities@zephyrproject.org
- CWE-787
- Hype score
- Not currently trending
🚨*CVE* CVE-2026-10665 In Zephyr's WireGuard subsystem (subsys/net/lib/wireguard), wg_process_data_message() in wg_crypto.c linearizes an inbound transport-data payload into a fixed pool bu… https://t.co/2ldx41Y0wT ----- Traducción: CVE-2026-10665 En … https://t.co/utmtNg
@infoflowcloud
12 Jul 2026
43 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
🐛 VULNERABILITIES CVE Notify: 🚨 [CVE-2026-10665](https://t.co/6Iu0xrfBhM... https://t.co/1unxPQRkfH #PatchManagement #Vulnerability #CVE
@MalwareObserver
12 Jul 2026
47 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:zephyrproject:zephyr:4.4.0:rc1:*:*:*:*:*:*",
"matchCriteriaId": "751E0B4E-7D5E-4847-ADD2-0A04D95A0577",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:zephyrproject:zephyr:4.4.0:rc2:*:*:*:*:*:*",
"matchCriteriaId": "CF3B04E2-F95F-42DD-BA7E-E96D4965E1D3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:zephyrproject:zephyr:4.4.0:rc3:*:*:*:*:*:*",
"matchCriteriaId": "15D1A475-CDAB-486F-82C6-E885E844DA22",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]