ctipilot.ch

dnsmasq really_insert() DNS-cache heap buffer overflow (RCE per Exodus; NVD frames as DoS/cache-poisoning)

cve · CVE-2026-2291 single-source

Coverage timeline
1
first 2026-07-21 → last 2026-07-21
Peak priority
notable
1 notable
Sources cited
1
1 hosts
Sections touched
1
trending-vulnerabilities
Co-occurring entities
0
no co-occurrence
ATT&CK techniques
1
pinned v19.1 · see below

Hunting pivots

ATT&CK techniques
Affected products
dnsmasq

ATT&CK techniques

1 technique observed across 1 entry — derived from entry metadata and body evidence, never asserted without a published entry behind it · pinned to MITRE ATT&CK v19.1 · compare on the matrix · Navigator layer (JSON)

Initial Access TA0001

T1190Exploit Public-Facing Application×1

Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network. The weakness in the system can be a software bug, a temporary glitch, or a misconfiguration.

Evidence: 2026-07-21/cve-2026-2291-dnsmasq-heap-overflow-rce-exodus · ATT&CK page ↗

Story timeline

  1. 2026-07-21CVE-2026-2291 — dnsmasq DNS-cache heap overflow is a pre-auth RCE, not just a DoS (Exodus exploit-dev write-up)
    trending-vulnerabilitiesExodus demonstrates full RCE from the dnsmasq CVE-2026-2291 heap overflow that NVD scores as a DoS/cache-poisoning flaw

Where this entity is cited

  • trending-vulnerabilities1

Source distribution

  • blog.exodusintel.com1 (100%)

explore in graph

Entries about dnsmasq really_insert() DNS-cache heap buffer overflow (RCE per Exodus; NVD frames as DoS/cache-poisoning) (1)

2026-07-21 · view entry permalink →

NOTABLECVE-2026-2291NATOB2

CVE-2026-2291 — dnsmasq DNS-cache heap overflow is a pre-auth RCE, not just a DoS (Exodus exploit-dev write-up)

Exodus Intelligence published a full exploit-development write-up for CVE-2026-2291, a heap buffer overflow in dnsmasq's DNS-reply caching function really_insert() (src/cache.c). When dnsmasq converts a domain name from DNS wire format to an escaped C string for caching, the escaping can double the string length, but the destination bigname buffer — fixed at 1,025 bytes — is never resized, and an unchecked strcpy() then overflows it: "the length of the string is not checked to ensure it does not exceed the size of the bigname buffer" (Exodus Intelligence, 2026-07-20). The published chain sends three attacker-controlled domain names in sequence (resolved via an attacker-influenced upstream response) to groom the heap, overflow an adjacent chunk's pointer, mount a write-what-where against ld.so function pointers, and take control of execution — full RCE on the OpenWrt demonstration target. No local access is needed: the attacker only requires a client behind the vulnerable resolver to look up an attacker-influenced name.

The significant point for defenders is the impact gap. NVD's published scoring puts CVE-2026-2291 at CVSS 7.3 with a low-impact vector consistent with cache poisoning or denial of service; Exodus's chain shows the practical ceiling is remote code execution (Exodus Intelligence, 2026-07-20). There is no confirmed in-the-wild exploitation — this is researcher-published offense, not observed attack activity — and the bug was already patched upstream in dnsmasq 2.92rel2 / 2.93 on 2026-05-11.

The root cause of the vulnerability is an unsafe strcpy() when a domain name is cached.

Exodus Intelligence 2026-07-20
vulnerability21 Jul 04:39Zsingle-sourceOpen finding ↗