dnsmasq — security advisory
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
- Products
- dnsmasq
- Affected versions
- Not specified
- Fixed versions
- 2.83-1
- CVEs
- CVE-2020-25683
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:43 UTC · Revision 1
Source evidence
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
osv:DEBIAN-CVE-2020-25683
dnsmasq
Fixed versions: 2.83-1
dnsmasq
Fixed versions: 2.83-1
dnsmasq
Fixed versions: 2.83-1
Complete source record
{
"id": "c0a30f7302bb5a0e7a2e94ac2e4d4e0db21df5b43f2b2ac013a66f24782603c6",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-25683",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-25683",
"summary": "A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.",
"evidence": "osv:DEBIAN-CVE-2020-25683",
"products": [
{
"name": {
"value": "dnsmasq",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.83-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "dnsmasq",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.83-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "dnsmasq",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.83-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-25683",
"aliases": [
"DEBIAN-CVE-2020-25683"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.83-1"
}
]
}
],
"package": {
"name": "dnsmasq",
"purl": "pkg:deb/debian/dnsmasq?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25683.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.83-1"
}
]
}
],
"package": {
"name": "dnsmasq",
"purl": "pkg:deb/debian/dnsmasq?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25683.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.83-1"
}
]
}
],
"package": {
"name": "dnsmasq",
"purl": "pkg:deb/debian/dnsmasq?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-25683.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:40.592199152Z",
"provider": "osv",
"upstream": [
"CVE-2020-25683"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-25683"
]
},
"related_cves": [
{
"value": "CVE-2020-25683",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452728,
"published_at": "2021-01-20T16:15:14.087+00:00"
}