---
id: CVE-2025-1675
title: >-
  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.
summary: >-
  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.
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H'
cwe:
  - CWE-125
  - CWE-125
vendor: zephyrproject
product: zephyr
affected:
  - zephyr <= 4.0.0
published: '2025-02-25'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T20:17:00.750'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-1675'
references:
  - url: >-
      https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2m84-5hfw-m8v4
    label: vulnerabilities@zephyrproject.org
tags:
  - nvd
epss: 0.00386
epssPercentile: 0.30768
ingestedAt: '2026-10-13T20:53:44.531Z'
---

## Overview

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.

## Affected

- `zephyr <= 4.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
