CVEfocus › CVE database › CVE-2026-6507

CVE-2026-6507Dnsmasq: dnsmasq: denial of service due to out-of-bounds write in dhcp bootreply…

CVSS 7.5 HighEPSS 0.5% (higher than 43% of CVEs)Published 2026-04-17Updated 2026-11-24Assigner: redhat

A flaw was found in dnsmasq. A remote attacker could exploit an out-of-bounds write vulnerability by sending a specially crafted BOOTREPLY (Bootstrap Protocol Reply) packet to a dnsmasq server configured with the `--dhcp-split-relay` option. This can lead to memory corruption, causing the dnsmasq daemon to crash and resulting in a denial of service (DoS).

CWE-787

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
13Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dnsmasqFixed2.92-1ubuntu0.3UBUNTU-CVE-2026-6507
Ubuntu 25.10dnsmasqNot affected
vulnerable_code_not_present
Ubuntu 24.04dnsmasqNot affected
vulnerable_code_not_present
Ubuntu 22.04dnsmasqNot affected
vulnerable_code_not_present
Debian 14dnsmasqFixed2.92-4DEBIAN-CVE-2026-6507
Red Hat Enterprise Linux 10dnsmasqNot affected
Red Hat Enterprise Linux 10dnsmasq-utilsNot affected
Red Hat Enterprise Linux 9dnsmasqNot affected
Red Hat Enterprise Linux 9dnsmasq-utilsNot affected
Red Hat Enterprise Linux 8dnsmasqNot affected
Red Hat Enterprise Linux 8dnsmasq-utilsNot affected
Red Hat Enterprise Linux 7dnsmasqNot affected
Red Hat Enterprise Linux 7dnsmasq-utilsNot affected
Red Hat Enterprise Linux 6dnsmasqNot affected
Red Hat Enterprise Linux 6dnsmasq-utilsNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: To mitigate this issue, ensure that the `dnsmasq` service is not configured with the `--dhcp-split-relay` option. If this option is currently in use, remove it from the `dnsmasq` configuration. After modifying the configuration, the `dnsmasq` service must be restarted for the changes to take effect. This may temporarily interrupt DHCP and DNS services provided by `dnsmasq`.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.