CVE-2026-101341
Description
A flaw was found in NSD. When parsing directly supplied Domain Name System (DNS) zone files, NSD fails to properly validate the length of text tokens within resource record data. An attacker able to provide a specially crafted zone file can trigger a stack-based buffer overflow, potentially leading to arbitrary code execution or a denial of service (DoS).
Statement
This vulnerability is rated as Important severity because arbitrary code execution can occur within the daemon's context, though triggering it requires importing an untrusted zone file directly into the server. NSD is not included in core Red Hat Enterprise Linux releases, restricting potential exposure to Fedora and EPEL environments. Furthermore, secondary zone configurations where the daemon writes out its own zone data are not vulnerable, limiting the attack surface to systems ingesting unverified primary zone definitions.
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.