CVE-2026-3591

A stack use-after-return flaw in SIG(0) handling code may enable ACL bypass

Published Mar 25, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A use-after-return vulnerability exists in the `named` server when handling DNS queries signed with SIG(0). Using a specially-crafted DNS request, an attacker may be able to cause an ACL to improperly (mis)match an IP address. In a default-allow ACL (denying only specific IP addresses), this may lead to unauthorized access. Default-deny ACLs should fail-secure.
This issue affects BIND 9 versions 9.20.0 through 9.20.20, 9.21.0 through 9.21.19, and 9.20.9-S1 through 9.20.20-S1.
BIND 9 versions 9.18.0 through 9.18.46 and 9.18.11-S1 through 9.18.46-S1 are NOT affected.

Analysis

AI-generated

Technical impact

A use‑after‑return flaw exists in the named DNS server when processing SIG(0) signed queries. By sending a specially crafted DNS request, an attacker can cause the server to mis‑match an IP address against an ACL. In configurations that allow all traffic except for explicitly denied addresses, this flaw could let the attacker bypass access controls and gain unauthorized access.

Affected Systems

The vulnerability impacts ISC BIND 9 DNS server versions 9.20.0 through 9.20.20, 9.21.0 through 9.21.19, and the 9.20.9‑S1 through 9.20.20‑S1 releases. Versions 9.18.0–9.18.46 and 9.18.11‑S1–9.18.46‑S1 are not affected.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. No EPSS score is available, and the flaw is not listed in CISA’s KEV catalog. The flaw can be triggered by any remote DNS query that reaches the vulnerable server, which an attacker can generate from any network with access to the server. Successful exploitation would result in ACL mis‑matching, allowing traffic that should be denied, potentially enabling unauthorized access to services behind the DNS server. The risk is present in deployments that rely on default‑allow ACLs and does not require local compromise of the system.

Remediation

Vendor Solution

Upgrade to the patched release most closely related to your current version of BIND 9: 9.20.21, 9.21.20, or 9.20.21-S1.


Vendor Workaround

No workarounds known.


OpenCVE Recommended Actions

  • Upgrade to one of the ISC‑released patched BIND versions 9.20.21, 9.21.20, or 9.20.21‑S1

Generated by OpenCVE AI on March 26, 2026 at 04:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6181-1 bind9 security update
Ubuntu USN Ubuntu USN USN-8124-1 Bind vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A use-after-return vulnerability exists in the `named` server when handling DNS queries signed with SIG(0). Using a specially-crafted DNS request, an attacker may be able to cause an ACL to improperly (mis)match an IP address. In a default-allow ACL (denying only specific IP addresses), this may lead to unauthorized access. Default-deny ACLs should fail-secure. This issue affects BIND 9 versions 9.20.0 through 9.20.20, 9.21.0 through 9.21.19, and 9.20.9-S1 through 9.20.20-S1. BIND 9 versions 9.18.0 through 9.18.46 and 9.18.11-S1 through 9.18.46-S1 are NOT affected.
Title A stack use-after-return flaw in SIG(0) handling code may enable ACL bypass
First Time appeared Isc
Isc bind
Weaknesses CWE-305
CWE-562
CPEs cpe:2.3:a:isc:bind:*:*:*:*:*:*:*:*
Vendors & Products Isc
Isc bind
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-562

    Return of Stack Variable Address

  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
isc
Published
Updated
Mar 25, 2026, 2:13 PM
Reserved
Mar 5, 2026, 12:50 PM
Status
Analyzed
Published
Mar 25, 2026, 2:16 PM
Modified
Jun 17, 2026, 10:43 AM
Severity
Moderate
Public date
Mar 25, 2026, 1:34 PM