Infinite loop Affecting zephyrproject-rtos/zephyr package, versions [,4.2.0-rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ZEPHYRPROJECTRTOSZEPHYR-10946484
  • published25 Jul 2025
  • disclosed24 Jun 2025
  • creditUnknown

Introduced: 24 Jun 2025

CVE-2025-2962  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 4.2.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Infinite loop via the dns_copy_qname function. An attacker can cause the system to enter an infinite loop by sending specially crafted DNS queries that cause the assignment of "pos" to be assigned to the same value it already contains, or a chain of pos assignments jumping back and forth causing the same position to be visited again.

CVSS Base Scores

version 4.0
version 3.1