Skip to main content

Zephyr RTOS CVE-2025-1675

CRITICAL
Out-of-bounds Read (CWE-125)
2025-02-25 vulnerabilities@zephyrproject.org
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Position as malicious/MITM DNS responder
  2. Delivery
    Device issues DNS query
  3. Exploit
    Return crafted oversized QNAME response
  4. Execution
    Unchecked memcpy reads out of bounds
  5. Impact
    Leak adjacent memory or crash device

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to run the Zephyr DNS resolver code path (dns_copy_qname in dns_pack.c) and to process an attacker-influenced DNS response - i.e., the device must perform DNS resolution and the attacker must control or spoof the DNS server reply (compromised/rogue resolver or MITM on the network path). The crafted response must contain a QNAME field whose declared length exceeds the actual source buffer so the unchecked memcpy over-reads. Limiting factors: devices that do not use Zephyr's native DNS client, or that only resolve against trusted on-path resolvers with no MITM exposure, are not practically reachable; impact is information disclosure of adjacent memory and/or denial of service (crash), with no integrity/code-execution impact per the vector. Per CVSS PR:N, no authentication is required.

Impact

Signals are mostly aligned but point to moderate operational priority rather than emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H = 9.1 Critical) describes an unauthenticated, network-reachable flaw with high confidentiality and availability impact and no integrity impact - consistent with CWE-125 (out-of-bounds read) causing memory disclosure and/or crash. However, EPSS is only 0.32% (55th percentile), this CVE is NOT on the CISA KEV list, and no public POC is referenced, so there is no evidence of active or imminent widespread exploitation. The high CVSS is driven by the network vector and C:H/A:H impact, but realistic exploitation depends on the Zephyr device actually performing DNS resolution and the attacker being positioned to return a crafted DNS response (malicious/compromised resolver or MITM on the network path) - a meaningful limiting factor the base CVSS does not capture. Net: a legitimately serious memory-safety bug worth patching promptly on affected Zephyr-based devices, but current exploitation-probability signals (low EPSS, no KEV, no POC) suggest it is not under active mass exploitation. No direct contradictions between the signals; the main tension is high severity versus low current-exploitation probability.

Exploit ScenarioDerived

A Zephyr-based IoT/embedded device performs a DNS lookup, and an attacker who controls the responding DNS server or occupies a man-in-the-middle position on the network returns a malicious DNS response with a crafted/oversized QNAME field. When dns_copy_qname parses it, the unchecked memcpy reads past the end of the source buffer, leaking adjacent memory contents or crashing the device. No public exploit code is identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 13, 2026

Out-of-bounds read in the Zephyr RTOS DNS resolver (dns_copy_qname in dns_pack.c) allows unauthenticated remote attackers who can control or spoof DNS responses to disclose adjacent memory and/or crash the device. Affected are Zephyr RTOS builds that use the native DNS client to resolve names via an attacker-influenced DNS server. A vendor patch is available, and no public exploit code or active exploitation has been identified at time of analysis (EPSS 0.32%, 55th percentile).

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 18:28 CVSS 8.2

The function dns_copy_qname in dns_pack.c performs performs a memcpy operation with an untrusted field and does not check if the source buffer is large enough to contain the copied data. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Read vulnerability could allow attackers to read data from memory outside the intended buffer boundaries.

RemediationAI

Apply the vendor-released patch as described in the Zephyr Project security advisory GHSA-2m84-5hfw-m8v4 (https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2m84-5hfw-m8v4); upgrade to the patched version of Zephyr RTOS. If immediate upgrade is not feasible, disable the native DNS resolver or restrict DNS resolution to trusted, on-path resolvers with no exposure to MITM or rogue DNS servers - though this may break functionality that depends on name resolution. Additionally, network segmentation and monitoring for device crashes or anomalous memory disclosure can reduce risk, but these are compensating controls, not fixes.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Zephyr RTOS real-time operating system includes a native DNS resolver implemented in dns_pack.c. The function dns_copy_qname performs a memcpy of a QNAME (domain name) field from a DNS response packet into a local buffer, using a length value taken from the untrusted packet without validating that the source buffer actually contains that many bytes. This is a classic out-of-bounds read (CWE-125). An attacker who can supply a crafted DNS response (e.g., via a compromised or rogue DNS server, or a man-in-the-middle on the network path) can cause the function to read past the end of the packet buffer, leading to disclosure of adjacent memory contents (information leak) and/or a crash (denial of service). The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H) confirms network reachability, no authentication, and high confidentiality and availability impact, but no integrity impact. The CPE cpe:2.3:o:zephyrproject:zephyr:*:-:*:*:*:*:*:* indicates the affected product is Zephyr OS without a version restriction in the NVD data; the vendor advisory should be consulted for exact affected and patched versions.

Know when Zephyr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 9.1 CRITICAL

Triggered remotely via a crafted DNS response with no auth or user interaction (AV:N/AC:L/PR:N/UI:N); OOB read discloses memory (C:H) and can crash the device (A:H) with no integrity impact (I:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Updated
Oct 13, 2026 - 20:28 vuln.today
v2 - CVSS changed
Severity Changed
Oct 13, 2026 - 20:23 NVD
HIGH CRITICAL
CVSS changed
Oct 13, 2026 - 20:23 NVD
8.2 (HIGH) 9.1 (CRITICAL)
Patch released
Mar 28, 2026 - 18:28 nvd
Patch available
CVE Published
Feb 25, 2025 - 08:15 nvd
HIGH 8.2

DescriptionNVD

The function dns_copy_qname in dns_pack.c performs performs a memcpy operation with an untrusted field and does not check if the source buffer is large enough to contain the copied data.

Executive ViewAI

Why It Matters

A critical memory-safety flaw in the Zephyr RTOS DNS resolver can let remote attackers who influence DNS responses read adjacent memory or crash affected devices, potentially disrupting embedded systems and exposing sensitive data. Organizations using Zephyr-based products that rely on the native DNS client-especially field-deployed or network-exposed devices-should prioritize remediation because successful exploitation could cause outages or information leakage. No public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 45% exploitable
Prevalence
Medium
widely used embedded/IoT RTOS, but not in every production environment
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:zephyrproject:zephyr:*:-:*:*:*:*:*:*

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy