ubuntu-cve-2026-5172
Vulnerability from osv_ubuntu
Published
2026-05-11 12:00
Modified
2026-06-30 16:18
Summary
Details
A buffer overflow in dnsmasq’s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record’s end.
Severity
7.3 (High)
7.5 (High)
N/A (UNKNOWN)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.90-0ubuntu0.16.04.1+esm3"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.90-0ubuntu0.16.04.1+esm3"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.90-0ubuntu0.16.04.1+esm3"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.90-0ubuntu0.16.04.1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.90-0ubuntu0.16.04.1+esm3?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.90-0ubuntu0.16.04.1+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.75-1",
"2.75-1ubuntu0.16.04.1",
"2.75-1ubuntu0.16.04.2",
"2.75-1ubuntu0.16.04.3",
"2.75-1ubuntu0.16.04.4",
"2.75-1ubuntu0.16.04.5",
"2.75-1ubuntu0.16.04.7",
"2.75-1ubuntu0.16.04.8",
"2.75-1ubuntu0.16.04.10",
"2.75-1ubuntu0.16.04.10+esm1",
"2.79-1ubuntu0.16.04.1+esm1",
"2.79-1ubuntu0.16.04.1+esm2",
"2.90-0ubuntu0.16.04.1+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.90-0ubuntu0.18.04.1+esm3"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.90-0ubuntu0.18.04.1+esm3"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.90-0ubuntu0.18.04.1+esm3"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.90-0ubuntu0.18.04.1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.90-0ubuntu0.18.04.1+esm3?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.90-0ubuntu0.18.04.1+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.78-1",
"2.78-3",
"2.79-1",
"2.79-1ubuntu0.2",
"2.79-1ubuntu0.3",
"2.79-1ubuntu0.4",
"2.79-1ubuntu0.5",
"2.79-1ubuntu0.6",
"2.79-1ubuntu0.7",
"2.90-0ubuntu0.18.04.1+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.90-0ubuntu0.20.04.1+esm2"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.90-0ubuntu0.20.04.1+esm2"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.90-0ubuntu0.20.04.1+esm2"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.90-0ubuntu0.20.04.1+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.90-0ubuntu0.20.04.1+esm2?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.90-0ubuntu0.20.04.1+esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.80-1ubuntu2",
"2.80-1ubuntu4",
"2.80-1.1ubuntu1",
"2.80-1.1ubuntu1.2",
"2.80-1.1ubuntu1.3",
"2.80-1.1ubuntu1.4",
"2.80-1.1ubuntu1.5",
"2.80-1.1ubuntu1.6",
"2.80-1.1ubuntu1.7",
"2.90-0ubuntu0.20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.90-0ubuntu0.22.04.3"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.90-0ubuntu0.22.04.3"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.90-0ubuntu0.22.04.3"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.90-0ubuntu0.22.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.90-0ubuntu0.22.04.3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.90-0ubuntu0.22.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.85-1ubuntu2",
"2.86-1.1",
"2.86-1.1ubuntu0.1",
"2.86-1.1ubuntu0.2",
"2.86-1.1ubuntu0.3",
"2.86-1.1ubuntu0.4",
"2.86-1.1ubuntu0.5",
"2.90-0ubuntu0.22.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.90-2ubuntu0.3"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.90-2ubuntu0.3"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.90-2ubuntu0.3"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.90-2ubuntu0.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.90-2ubuntu0.3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.90-2ubuntu0.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.89-1",
"2.90-2",
"2.90-2build1",
"2.90-2build2",
"2.90-2ubuntu0.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.91-1ubuntu0.2"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.91-1ubuntu0.2"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.91-1ubuntu0.2"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.91-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.91-1ubuntu0.2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.91-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.91-1",
"2.91-1build1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "dnsmasq",
"binary_version": "2.92-1ubuntu0.2"
},
{
"binary_name": "dnsmasq-base",
"binary_version": "2.92-1ubuntu0.2"
},
{
"binary_name": "dnsmasq-base-lua",
"binary_version": "2.92-1ubuntu0.2"
},
{
"binary_name": "dnsmasq-utils",
"binary_version": "2.92-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "dnsmasq",
"purl": "pkg:deb/ubuntu/dnsmasq@2.92-1ubuntu0.2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.92-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.91-1build1",
"2.92~rc3-1",
"2.92-1"
]
}
],
"aliases": [],
"details": "A buffer overflow in dnsmasq\u2019s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record\u2019s end.",
"id": "UBUNTU-CVE-2026-5172",
"modified": "2026-06-30T16:18:36Z",
"published": "2026-05-11T12:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-5172"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-5172"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8268-1"
}
],
"related": [
"USN-8268-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
"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-5172"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
Loading…