dnsmasq vulnerabilities and fixes
Recent CVEs affecting dnsmasq, with upgrade or downgrade steps. 2 tracked.
dnsmasq has 2 tracked vulnerabilities, 0 critical. A fixed release or vendor patch exists for 2. Most recent: 2026-06-23. Highest priority: CVE-2026-12725 (score 42/100).
- 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
FAQ
How do I fix dnsmasq vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is dnsmasq being exploited right now?
None of the tracked dnsmasq CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which dnsmasq CVE should I patch first?
CVE-2026-12725 currently ranks highest (42/100): A heap-based buffer overflow was found in dnsmasq.