CVE-2026-10646

HIGHPre-NVD 7.47.4
EchelonGraph scoreMEDIUM confidence

This high-severity CVE scores 7.4 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 81% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
7.4
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 7.4Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

Zephyr's BSD-sockets getaddrinfo() implementation (subsys/net/lib/sockets/getaddrinfo.c) passes a pointer to a stack-allocated state object (struct getaddrinfo_state ai_state) as the user_data of an asynchronous DNS resolver query. The socket layer waits on a semaphore with a timeout deliberately set slightly longer than the resolver's own per-query timeout. When that semaphore wait nonetheless times out (-EAGAIN) - which can occur when the resolver's timeout work is delayed by workqueue contention, or in the documented multi-retry configuration where CONFIG_NET_SOCKETS_DNS_TIMEOUT exceeds CONFIG_NET_SOCKETS_DNS_BACKOFF_INTERVAL - the pre-fix code retries the query (goto again) without cancelling the previous one and without resetting the semaphore.

The previous query slot remains active in the resolver with its callback and the stack pointer as user_data, and ai_state->dns_id is overwritten so the stale query can no longer be cancelled. A subsequent DNS response delivered over UDP and matched by its 16-bit transaction id (in dispatcher_cb()/dns_read()), or the resolver's own delayed query-timeout work, then invokes dns_resolve_cb() against the now out-of-scope stack frame, writing through the stale pointer (state->status, state->idx, state->ai_arr[], and k_sem_give()).

Because the triggering response is network-delivered and its 16-bit id is spoofable/replayable by an on- or off-path attacker, this is a network-influenceable use-after-return that can corrupt reused stack memory, leading to crashes/denial of service or memory corruption.

The fix cancels the timed-out query by name and type before retrying and resets the local semaphore, eliminating the stale callback path. Affected: Zephyr v4.0.0 through v4.4.0.

CVSS v3
7.4
EG Score
7.4(medium)
EPSS
18.7%
KEV
Not listed

Published

June 28, 2026

Last Modified

July 14, 2026

Advisory Details (2)

Auto-updated Jun 28, 2026
Patch available. Sources: github_commit, github.
github Patch Available

Use-after-return in zsock_getaddrinfo() when a timed-out DNS query is retried without cancellation · Advisory · zephyrproject-rtos/zephyr · GitHub

https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-h752-vhmf-29w6
github_commit

commit cd27da58eedb (zephyrproject-rtos/zephyr)

Fix landed in zephyrproject-rtos/zephyr commit cd27da58eedb — awaiting tagged release

https://github.com/zephyrproject-rtos/zephyr/commit/cd27da58eedb8d0fe380dd340b81ca5afa35de45

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 21× in last 7d / 59× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-15 16:57 UTCEPSS rescore
  2. 2026-07-15 14:45 UTCEG score recompute
  3. 2026-07-15 03:23 UTCEG score recompute
  4. 2026-07-15 02:00 UTCEPSS rescore
  5. 2026-07-14 16:07 UTCEG score recompute
  6. 2026-07-14 04:51 UTCEG score recompute
  7. 2026-07-13 22:30 UTCEPSS rescore
  8. 2026-07-13 17:31 UTCEG score recompute
  9. 2026-07-13 06:15 UTCEG score recompute
  10. 2026-07-13 06:12 UTCEPSS rescore
  11. 2026-07-12 18:47 UTCEG score recompute
  12. 2026-07-12 07:30 UTCEG score recompute
  13. 2026-07-12 05:46 UTCEPSS rescore
  14. 2026-07-11 20:14 UTCEG score recompute
  15. 2026-07-11 08:59 UTCEG score recompute
  16. 2026-07-11 08:27 UTCEPSS rescore
  17. 2026-07-10 21:39 UTCEG score recompute
  18. 2026-07-10 10:23 UTCEG score recompute
  19. 2026-07-09 23:07 UTCEG score recompute
  20. 2026-07-09 19:10 UTCEPSS rescore
  21. 2026-07-09 11:52 UTCEG score recompute
  22. 2026-07-09 00:36 UTCEG score recompute
  23. 2026-07-08 15:15 UTCEPSS rescore
  24. 2026-07-08 15:15 UTCEPSS rescore
  25. 2026-07-08 13:20 UTCEG score recompute
Show 34 more
  1. 2026-07-08 02:04 UTCEG score recompute
  2. 2026-07-07 14:48 UTCEG score recompute
  3. 2026-07-07 13:46 UTCEPSS rescore
  4. 2026-07-07 03:27 UTCEG score recompute
  5. 2026-07-06 16:27 UTCEPSS rescore
  6. 2026-07-06 16:11 UTCEG score recompute
  7. 2026-07-06 04:52 UTCEG score recompute
  8. 2026-07-06 02:23 UTCEPSS rescore
  9. 2026-07-05 17:30 UTCEG score recompute
  10. 2026-07-05 06:14 UTCEG score recompute
  11. 2026-07-05 02:30 UTCEPSS rescore
  12. 2026-07-05 02:30 UTCEPSS rescore
  13. 2026-07-04 18:57 UTCEG score recompute
  14. 2026-07-04 07:38 UTCEG score recompute
  15. 2026-07-04 06:31 UTCEPSS rescore
  16. 2026-07-03 20:18 UTCEG score recompute
  17. 2026-07-03 09:02 UTCEG score recompute
  18. 2026-07-02 21:46 UTCEG score recompute
  19. 2026-07-02 10:30 UTCEG score recompute
  20. 2026-07-01 23:14 UTCEG score recompute
  21. 2026-07-01 15:06 UTCEPSS rescore
  22. 2026-07-01 15:06 UTCEPSS rescore
  23. 2026-07-01 11:58 UTCEG score recompute
  24. 2026-07-01 00:42 UTCEG score recompute
  25. 2026-06-30 23:22 UTCEPSS rescore
  26. 2026-06-30 13:26 UTCEG score recompute
  27. 2026-06-30 02:06 UTCEG score recompute
  28. 2026-06-29 14:51 UTCEG score recompute
  29. 2026-06-29 14:06 UTCEPSS rescore
  30. 2026-06-29 03:34 UTCEG score recompute
  31. 2026-06-28 16:18 UTCEG score recompute
  32. 2026-06-28 14:07 UTCEPSS rescore
  33. 2026-06-28 05:03 UTCEG score recompute
  34. 2026-06-28 05:01 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-10646?
CVE-2026-10646 is a high vulnerability published on June 28, 2026. Zephyr's BSD-sockets getaddrinfo() implementation (subsys/net/lib/sockets/getaddrinfo.c) passes a pointer to a stack-allocated state object (struct getaddrinfostate aistate) as the userdata of an asynchronous DNS resolver query. The socket layer waits on a semaphore with a timeout deliberately set…
When was CVE-2026-10646 disclosed?
CVE-2026-10646 was first published in the National Vulnerability Database on June 28, 2026, with the most recent update on July 14, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-10646 actively exploited?
CVE-2026-10646 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 18.7% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-10646?
CVE-2026-10646 has a CVSS v3 base score of 7.4 (NVD).
How do I remediate CVE-2026-10646?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-10646, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-10646

Explore →

Is Your Infrastructure Affected by CVE-2026-10646?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.