Skip to main content

NSD CVE-2026-12244

| EUVDEUVD-2026-39182 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-06-25 NLnet Labs GHSA-p22w-wq6p-g85g
8.7
CVSS 4.0 · Vendor: NLnet Labs
View

Attack ChainAIDerived

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

  1. Access
    Control or compromise zone primary
  2. Delivery
    Victim secondary initiates AXFR
  3. Exploit
    Send crafted SVCB RR rdata size 65512
  4. Execution
    uint16_t allocation size wraps small
  5. Persist
    Heap buffer overflow up to 65509 bytes
  6. Impact
    Controlled write achieves RCE or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires that the victim NSD instance is configured as a secondary for at least one zone, and that the attacker controls the primary for that zone (or can supply the AXFR response as a malicious/compromised primary, or impersonate it where TSIG is not enforced) - the malicious payload is delivered inside an AXFR zone transfer as an SVCB resource record with an rdata size of exactly 65512 bytes, which is the value that wraps the uint16_t allocation size. Limiting factors: the attacker must occupy the trusted primary position (CVSS PR:L, not unauthenticated), the target must run NSD in secondary mode, and the vulnerable code path is SVCB RR parsing during AXFR; if zone transfers are TSIG-authenticated and ACL-restricted to a legitimate, uncompromised primary, the practical attack surface is largely eliminated. No user interaction is required (UI:N).

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 8.7) reflects a network-reachable, low-complexity attack with high impact to confidentiality, integrity, and availability, requiring some privilege (PR:L) - consistent with the description, which states the attack must come from the configured primary of a zone that the victim NSD secondaries. That PR:L is the single most important risk-limiting signal: the attacker is not an arbitrary internet host but must occupy (or hijack/spoof) the trusted primary in an established primary-secondary relationship, which sharply narrows the realistic threat population to a malicious primary, a compromised primary, or an on-path attacker able to impersonate it. No EPSS score, KEV listing, or POC was provided, so there is no public exploit identified at time of analysis and no evidence of active exploitation; SSVC inputs (automatable, exploitation status) were not supplied. The headline impact is severe (controlled heap write of class RCE), but the trust prerequisite means real-world risk is elevated-but-targeted rather than mass-exploitable - prioritize patching where NSD acts as a secondary, especially across organizational trust boundaries or with TSIG not enforced.

Exploit ScenarioDerived

An attacker who controls or has compromised the primary nameserver for a zone (or can impersonate it on-path where TSIG is absent) waits for or triggers an AXFR from a victim NSD secondary, then serves a zone-transfer message containing a crafted SVCB record with rdata length 65512. The 16-bit allocation size wraps, NSD copies up to 65509 attacker-chosen bytes past the undersized heap buffer, and the attacker leverages the controlled write toward code execution or a crash on the secondary. No public exploit is identified at this time, and the low attack complexity (AC:L) means a working primitive is straightforward for an attacker already in the primary role.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

Heap overflow in NLnet Labs NSD allows a malicious or compromised zone primary to corrupt memory on a secondary (slave) NSD instance by sending an AXFR transfer containing a crafted SVCB resource record. An rdata size of 65512 causes a uint16_t length variable used for RR allocation to wrap (total size exceeds 65535), producing an undersized buffer and a controlled out-of-bounds write of up to 65509 bytes - an RCE-class primitive (CWE-190 integer overflow leading to heap overflow). No public exploit identified at time of analysis, but the controlled write and remote network vector (CVSS 4.0 base 8.7) make this a high-priority patch for any operator running NSD as a secondary.

RemediationAI

Upgrade NSD to the fixed release identified in the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-12244.txt; the exact patched version number is not included in the provided data and must be taken from that advisory - patch available per vendor advisory, version to be confirmed from the source. As compensating controls until patched: enforce TSIG authentication on all zone transfers so that only the legitimate, key-holding primary can send AXFR data (this blocks spoofed/on-path primaries but does not protect against a genuinely compromised primary); strictly limit the allow-notify/request-xfr and provide-xfr ACLs to known primary IP addresses and bind transfer endpoints to trusted management networks (trade-off: must be kept in sync as topology changes); and where feasible, place secondaries behind network controls that restrict inbound TCP/53 to the known primary only. None of these controls neutralize a malicious or fully compromised primary, so patching is the only complete fix.

Affected VersionsENISA

NSD 4.14.0 <4.14.3

Affected Packages

euvd nsd fix: 4.14.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

NSD (Name Server Daemon) is an authoritative-only DNS nameserver from NLnet Labs, commonly deployed as a secondary that pulls zones from a primary via AXFR/IXFR zone transfers. The flaw is in NSD's parsing/allocation of a received SVCB resource record (RFC 9460, used for HTTPS/service binding records) during AXFR processing. Per CWE-190, the code computes the buffer size for the incoming RR using a 16-bit (uint16_t) variable; an rdata length of 65512 pushes the computed total (rdata plus RR overhead) past 65535, wrapping the 16-bit value to a small number. The subsequent allocation is therefore far smaller than the data copied into it, yielding a heap buffer overflow whose contents and length (up to 65509 bytes) are attacker-controlled, placing this in the remote-code-execution risk class rather than mere denial of service. The CPE cpe:2.3:a:nlnet_labs:nsd:*:*:*:*:*:*:*:* indicates all NSD versions prior to the fix should be treated as potentially affected pending exact version confirmation.

Know when Nsd 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

Vendor (NLnet Labs) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-delivered via AXFR (AV:N), low complexity (AC:L), but requires the trusted primary role so PR:L; controlled heap write yields high C/I/A with no scope change.

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

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 08:01 EUVD

DescriptionCVE.org

If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size > 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes

Executive ViewAI

Why It Matters

CVE-2026-12244 affects NLnet Labs NSD, a DNS secondary server used to maintain redundant domain name resolution, and could enable remote code execution if exploited. No vendor patch is currently available, making immediate operational controls essential to prevent exploitation through malicious zone transfers. Organizations using NSD secondaries face direct risk to DNS infrastructure security and operational continuity.

Business Impact: High
Compensating Controls

Until vendor patch available: (1) Restrict zone transfer sources via firewall and DNS ACLs to known, trusted primaries; (2) Require TSIG authentication on all AXFR transactions; (3) Network-segment DNS infrastructure and monitor AXFR traffic for anomalies; (4) Implement rate limiting on zone transfers; (5) Disable zone transfers if operational requirements permit.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
authoritative DNS server used by notable operators/TLDs, not ubiquitous
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Nsd

View all
CVE-2026-101341 HIGH
8.7 Oct 14

Stack-based buffer overflow in NLnet Labs NSD's zone-file RDATA parser allows an attacker with the ability to supply a c

CVE-2026-101339 HIGH
8.7 Oct 14

Loading a crafted zone file into NLnet Labs NSD can overflow a stack buffer and overwrite up to 191 bytes with attacker-

CVE-2026-101338 HIGH
8.7 Oct 14

A stack-based buffer overflow in NLnet Labs NSD's parsing of SVCB/HTTPS resource records allows an attacker who can supp

CVE-2026-101337 HIGH
8.7 Oct 14

Stack-based buffer overflow in NLnet Labs NSD is triggered when the daemon parses a zone file containing base64 data spl

CVE-2026-12245 HIGH
8.7 Jun 25

Remote denial-of-service in NLnet Labs NSD (authoritative DNS name server) version 4.13.0 and later allows an unauthenti

CVE-2026-19538 HIGH
8.2 Aug 26

NSD's proxy protocol port fails to re-evaluate BLOCKED access control list entries on the second DNS query sent over a k

CVE-2026-19401 HIGH
8.2 Aug 26

NSD authoritative DNS server crashes serve child processes when receiving a crafted DNS message containing exactly 17 DN

CVE-2026-18664 HIGH
8.2 Aug 26

IP range-based access control in NLnet Labs NSD is silently broken on little-endian systems due to an endianness mismatc

CVE-2026-12490 HIGH
8.2 Jun 25

Zone-transfer authentication bypass in NLnet Labs NSD allows unauthorized secondaries to obtain full zone contents witho

CVE-2016-6173 HIGH
7.5 Feb 09

NSD before 4.1.11 allows remote DNS master servers to cause a denial of service (/tmp disk consumption and slave server

CVE-2026-12246 HIGH
7.2 Jun 25

Stack buffer overflow in NSD 4.14.0 (NLnet Labs authoritative DNS server) allows a party able to introduce zone data to

CVE-2026-18916 MEDIUM
6.9 Aug 26

TCP window throttling in NLnet Labs NSD allows any unauthenticated remote attacker to crash individual serve child proce

Vendor StatusVendor

SUSE

Severity: Important

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