Skip to content
Memory corruption Write-up Advanced

Dnsmasq DNS Remote Heap Buffer Overflow

A heap buffer overflow was found in Dnsmasq's DNS handling, and the authors exploited it to achieve remote code execution on an OpenWRT target. The flaw was fixed in versions 2.92rel2 and 2.93.

Exodus Intel VRT Follow

Published on blog.exodusintel.com

JULY 20, 2026 Vulnerability Analysis, Exploit Techniques, General Research

Exodus Intel VRT, on blog.exodusintel.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could gain remote code execution on an OpenWRT target, though the text gives no further detail on conditions or defences.

What the attacker needed

Network access to a Dnsmasq DNS service

The fix

It was fixed in Dnsmasq versions 2.92rel2 and 2.93.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Dnsmasq is a small program that answers DNS requests, the system that turns website names into addresses. A heap buffer overflow means the program writes more data into a memory area than it reserved, which can let an attacker take control of the program. Here the researchers turned that into running their own code on a router.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Exodus Intel VRT

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.