NLnet Labs Unbound up to 1.25.1 DNSCrypt heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.5 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as very critical has been discovered in NLnet Labs Unbound up to 1.25.1. This issue affects some unknown processing of the component DNSCrypt. The manipulation results in heap-based overflow. This vulnerability is known as CVE-2026-40691. It is possible to launch the attack remotely. No exploit is available.
Details
A vulnerability classified as very critical has been found in NLnet Labs Unbound up to 1.25.1. Affected is an unknown functionality of the component DNSCrypt. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
In Unbound 1.9.0 up to and including 1.25.1, when a DNSCrypt query is received over TCP, the routine that encrypts the reply in place fails to bound the reply length against the destination buffer size. The size clamp that protects the UDP path is not applied on the TCP path, so a reply larger than 65504 bytes is shifted forward by 48 bytes inside a buffer of capacity equal to 'msg-buffer-size', writing past the end of the heap allocation. A single malicious encrypted query crashes the resolver and lead to denial of service. This vulnerability needs Unbound to be compiled with DNSCrypt support ('--enable-dnscrypt') and the 'dnscrypt:' clause to be configured and enabled for the listening interfaces.
The advisory is shared for download at nlnetlabs.nl. This vulnerability is traded as CVE-2026-40691 since 06/22/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are neither technical details nor an exploit publicly available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 07/30/2026).
The vulnerability scanner Nessus provides a plugin with the ID 330825 (Fedora 44 : unbound (2026-e495bd59ef)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.25.2 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (330825) and CERT Bund (WID-SEC-2026-2492). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Open Source Unbound
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.5
VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 330825
Nessus Name: Fedora 44 : unbound (2026-e495bd59ef)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Unbound 1.25.2
Timeline
06/22/2026 CVE reserved07/22/2026 Advisory disclosed
07/22/2026 VulDB entry created
07/30/2026 VulDB entry last update
Sources
Advisory: nlnetlabs.nlStatus: Confirmed
CVE: CVE-2026-40691 (🔒)
GCVE (CVE): GCVE-0-2026-40691
GCVE (VulDB): GCVE-100-382320
CERT Bund: WID-SEC-2026-2492 - Unbound: Mehrere Schwachstellen
Entry
Created: 07/22/2026 15:42Updated: 07/30/2026 15:11
Changes: 07/22/2026 15:42 (53), 07/23/2026 17:31 (8), 07/30/2026 15:11 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.