CVE-2026-82717

CNAME synthesis could lead to heap corruption

Published Sep 16, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
Description
In NLnet Labs Unbound up to and including 1.26.0, a vulnerability was found in that can progressively corrupt heap memory and under certain systems and compilation options could lead to remote code execution. The vulnerability starts when CNAME synthesis during an upstream response needs to enforce(rewrite) a max TTL value in the packet buffer. Coupled with a compression pointer that points to the overwritten value and invalidates the domain name, it leads to an error path that does not properly move the buffer position and allows for the heap buffer overflow. Since this is heavily reliant on heap memory layout, results are memory corruption that eventually leads to a crash and under specific systems and compilation options remote code execution.

Analysis

AI-generated

Technical impact

In Unbound versions up to 1.26.0, a heap corruption flaw (CWE-122, CWE-787) is triggered during CNAME synthesis when the resolver enforces a maximum TTL value in an upstream response. The combination of a compression pointer an error path that fails to advance the buffer position creates a heap buffer overflow. The exploit’s effectiveness depends on the heap memory layout and specific compilation options; on affected systems it can cause a crash or, under the right conditions, remote code execution.

Affected Systems

NLnet Labs Unbound, all versions from the initial release through . Versions 1.26.1 and later contain the fix and are not affected.

Risk and Exploitability

The CVSS score of 8.4 classifies this issue as high severity, and the EPSS score of < 1% indicates a low exploitation probability. The vulnerability is not listed catalog. The likely attack vector is remote, via a crafted DNS query sent to an unbound resolver. An attacker could exploit the flaw by sending a DNS response that triggers CNAME synthesis, but success depends on the victim’s system configuration and compilation flags. If the R attacker could achieve arbitrary code execution on the host running Unbound. If only memory corruption occurs, the primary consequence is a service crash leading to denial of service.

Remediation

Vendor Solution

This issue is fixed starting with version 1.26.1


OpenCVE Recommended Actions

  • Upgrade Unbound to version 1.26.1 or later, which contains the heap buffer overflow fix.
  • If an immediate upgrade is not possible, restrict incoming DNS queries that may force CNAME synthesis or isolate the resolver from untrusted networks.
  • defensive options such as stack canaries and bounds checking to mitigate the impact of remaining memory‑safety issues.

Generated by OpenCVE AI on September 18, 2026 at 10:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6507-1 unbound security update
Ubuntu USN Ubuntu USN USN-8873-1 Unbound vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs unbound
Vendors & Products Nlnetlabs
Nlnetlabs unbound
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Description In NLnet Labs Unbound up to and including 1.26.0, a vulnerability was found in that can progressively corrupt heap memory and under certain systems and compilation options could lead to remote code execution. The vulnerability starts when CNAME synthesis during an upstream response needs to enforce(rewrite) a max TTL value in the packet buffer. Coupled with a compression pointer that points to the overwritten value and invalidates the domain name, it leads to an error path that does not properly move the buffer position and allows for the heap buffer overflow. Since this is heavily reliant on heap memory layout, results are memory corruption that eventually leads to a crash and under specific systems and compilation options remote code execution.
Title CNAME synthesis could lead to heap corruption
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
NLnet Labs
Published
Updated
Sep 16, 2026, 2:15 PM
Reserved
Sep 7, 2026, 2:06 PM
Status
Analyzed
Published
Sep 16, 2026, 9:17 AM
Modified
Sep 23, 2026, 7:50 PM
Severity
Important
Public date
Sep 16, 2026, 8:31 AM