BSD Ports

dnsmasq -- multiple vulnerabilities

· CVE-2026-2291, CVE-2026-4890, CVE-2026-4891, CVE-2026-4892, CVE-2026-4893, CVE-2026-5172 · VuXML entry

Simon Kelley reports: Today, 11th May 2026 CERT is releasing a set of six CVEs for serious security vulnerabilities in dnsmasq. These are all long-standing bugs which apply to pretty much all non-ancient versions. Christopher Cullen and Molly Jaconski write, in Vulnerability Note VU#471747: CVE-2026-2291 dnsmasq's extract_name() function can be abused to cause a heap buffer overflow, enabling an attacker to inject …

Affected versions

By system

2 still vulnerable, 2 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
FreeBSDdns/dnsmasq2.93,1 fixed
OpenBSDnet/dnsmasq2.93 out of range, by version
NetBSDnet/dnsmasq2.93 not listed
MidnightBSDdns/dnsmasq2.92,1 in range, by version
DragonFlydns/dnsmasq2.91_1,1 vulnerable since 2026-05-11
OPNsenseopnsense/dnsmasq2.93,1 fixed
DragonFlydns/dnsmasq-devel2.92.t13,6 vulnerable since 2026-05-11