CVE-2005-0876: Off-by-one buffer overflow in Dnsmasq before 2.21 may allow attackers to execute arbitrary code via the DHCP l
CVE-2005-0876 is a medium-severity flaw (CVSS 5.0) affecting dnsmasq. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Off-by-one buffer overflow in Dnsmasq before 2.21 may allow attackers to execute arbitrary code via the DHCP lease file.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.0 (Medium) |
| EPSS exploit chance | 2.6% (top 15%) |
| CISA exploited list | No |
| Published | 2005-05-02 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2005-0876?
dnsmasq: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2005-0876 being exploited?
CVE-2005-0876 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2005-0876 affect?
CVE-2005-0876 affects dnsmasq. Severity is medium (CVSS 5.0). Off-by-one buffer overflow in Dnsmasq before 2.21 may allow attackers to execute arbitrary code via the DHCP lease file.
How urgent is CVE-2005-0876?
Priority 39/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-12725 MEDIUM 5.9 UPGRADE MITIGATE A heap-based buffer overflow was found in dnsmasq
- CVE-2026-12969 MEDIUM 5.3 MITIGATE UPGRADE An out-of-bounds read vulnerability exists in dnsmasq's find_soa() function in src/rfc1035.c
- CVE-2023-49441 HIGH 7.5 DOWNGRADE dnsmasq 2.9 is vulnerable to Integer Overflow via forward_query.
- CVE-2023-28450 HIGH 7.5 UPGRADE An issue was discovered in Dnsmasq before 2.90
- CVE-2022-0934 HIGH 7.5 UPGRADE MITIGATE A single-byte, non-arbitrary write/use-after-free flaw was found in dnsmasq