ubuntu-cve-2026-42944
Vulnerability from osv_ubuntu
NLnet Labs Unbound 1.14.0 up to and including version 1.25.0 has a vulnerability that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options ('nsid', 'answer-cookie', 'pad-responses' (default)) need to be enabled for the vulnerability to be exploited. An adversary who can query Unbound can exploit the vulnerability by attaching multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options to the query. A flaw in the size calculation of the EDNS field truncates the correct value which allows the encoder to overflow the available space when writing. Those two combined lead to a heap overflow write of Unbound controlled data and eventually a crash. Unbound 1.25.1 contains a patch with a fix to de-duplicate the EDNS options and a fix to prevent truncation of the EDNS field size calculation.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.19.2-1ubuntu3.8"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.19.2-1ubuntu3.8"
},
{
"binary_name": "unbound",
"binary_version": "1.19.2-1ubuntu3.8"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.19.2-1ubuntu3.8"
},
{
"binary_name": "unbound-host",
"binary_version": "1.19.2-1ubuntu3.8"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "unbound",
"purl": "pkg:deb/ubuntu/unbound@1.19.2-1ubuntu3.8?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.19.2-1ubuntu3.8"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17.1-2",
"1.18.0-2ubuntu1",
"1.18.0-2ubuntu2",
"1.19.1-1ubuntu1",
"1.19.2-1ubuntu1",
"1.19.2-1ubuntu3",
"1.19.2-1ubuntu3.1",
"1.19.2-1ubuntu3.2",
"1.19.2-1ubuntu3.3",
"1.19.2-1ubuntu3.4",
"1.19.2-1ubuntu3.5",
"1.19.2-1ubuntu3.6",
"1.19.2-1ubuntu3.7"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.22.0-2ubuntu2.3"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.22.0-2ubuntu2.3"
},
{
"binary_name": "unbound",
"binary_version": "1.22.0-2ubuntu2.3"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.22.0-2ubuntu2.3"
},
{
"binary_name": "unbound-host",
"binary_version": "1.22.0-2ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "unbound",
"purl": "pkg:deb/ubuntu/unbound@1.22.0-2ubuntu2.3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22.0-2ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22.0-1ubuntu1",
"1.22.0-2ubuntu1",
"1.22.0-2ubuntu2",
"1.22.0-2ubuntu2.1",
"1.22.0-2ubuntu2.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libunbound8",
"binary_version": "1.24.2-1ubuntu2.1"
},
{
"binary_name": "python3-unbound",
"binary_version": "1.24.2-1ubuntu2.1"
},
{
"binary_name": "unbound",
"binary_version": "1.24.2-1ubuntu2.1"
},
{
"binary_name": "unbound-anchor",
"binary_version": "1.24.2-1ubuntu2.1"
},
{
"binary_name": "unbound-host",
"binary_version": "1.24.2-1ubuntu2.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "unbound",
"purl": "pkg:deb/ubuntu/unbound@1.24.2-1ubuntu2.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.24.2-1ubuntu2.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.22.0-2ubuntu2",
"1.22.0-2ubuntu4",
"1.24.2-1ubuntu1",
"1.24.2-1ubuntu2"
]
}
],
"aliases": [],
"details": "NLnet Labs Unbound 1.14.0 up to and including version 1.25.0 has a vulnerability that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options (\u0027nsid\u0027, \u0027answer-cookie\u0027, \u0027pad-responses\u0027 (default)) need to be enabled for the vulnerability to be exploited. An adversary who can query Unbound can exploit the vulnerability by attaching multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options to the query. A flaw in the size calculation of the EDNS field truncates the correct value which allows the encoder to overflow the available space when writing. Those two combined lead to a heap overflow write of Unbound controlled data and eventually a crash. Unbound 1.25.1 contains a patch with a fix to de-duplicate the EDNS options and a fix to prevent truncation of the EDNS field size calculation.",
"id": "UBUNTU-CVE-2026-42944",
"modified": "2026-06-30T16:21:00Z",
"published": "2026-05-20T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-42944"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-42944"
},
{
"type": "REPORT",
"url": "https://nlnetlabs.nl/news/2026/May/20/unbound-1.25.1-released/"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8282-1"
}
],
"related": [
"USN-8282-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Red",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-42944"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.