# CVE-2026-10652: Out-of-bounds read in Zephyr DNS resolver TXT/SRV record parsing (unvalidated \`rdlength\`)

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

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-06-30T15:50:46.510Z
- **Modified:** 2026-11-04T04:58:29.830Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.3.0, \< 4.3.1; \>= 4.4.0, \< 4.4.1

## Description

Zephyr's DNS resolver (subsys/net/lib/dns) parses resource records from DNS responses in dns\_unpack\_answer(), which validated only the fixed RR header (type, class, TTL, rdlength) and accepted any attacker-declared rdlength, including one extending past the end of the received datagram. The TXT and SRV consumers in dns\_validate\_record() (resolve.c) then read up to rdlength bytes (clamped only to a record-type maximum such as DNS\_MAX\_TEXT\_SIZE, default 64, not to the packet) from the receive buffer via memcpy without their own bounds check, and pass the result to the application's resolve callback. A malicious or spoofed DNS server, an on-path attacker forging UDP DNS replies, or (with mDNS/LLMNR enabled) any LAN node can craft a truncated TXT or SRV response that causes an out-of-bounds read of adjacent receive-pool memory; the disclosed stale bytes (residual contents of prior DNS packets / uninitialized pool memory) are returned to the application as TXT/SRV record contents, an information leak, and may in some configurations cross the allocation boundary and fault, causing a denial of service. The read is bounded (~64 bytes for TXT, ~6 for SRV) and read-only (no write). The fix rejects any record whose declared rdata extends past dns\_msg-\>msg\_size at the single chokepoint in dns\_unpack\_answer(). Affected: v4.3.0 and v4.4.0.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.3.0, \< 4.3.1; \>= 4.4.0, \< 4.4.1 (cvelist)

## Mitigation

- Upgrade zephyr to 4.4.1 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-10652. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-10652.md
Affected: zephyrproject zephyr >= 4.3.0, < 4.3.1; >= 4.4.0, < 4.4.1
Fixed in: zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.1

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-10652 being exploited?

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

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

Medium: CVSS 4.8 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

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

zephyrproject zephyr \>= 4.3.0, \< 4.3.1; \>= 4.4.0, \< 4.4.1.

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

Yes. Fixed in zephyrproject zephyr 4.3.1, zephyrproject zephyr 4.4.1. Upgrade zephyr to 4.4.1 or later.

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

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-3jxq-xx8g-q8j2>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/58b46c81c6796dac4dc7391f32ba006474f94dc8>

## 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-10652>

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