CVE-2026-5172
Heap Out-of-Bounds Read in Dnsmasq DNS Response Handling
Publication date: 2026-05-11
Last updated on: 2026-05-11
Assigner: CERT/CC
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| the_dnsmasq_project | dnsmasq | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a buffer overflow in the extract_addresses() function of dnsmasq. It allows an attacker to cause a heap out-of-bounds read and crash the program by sending a malformed DNS response. The issue arises because the extract_name() function advances the pointer beyond the end of the DNS record.
How can this vulnerability impact me? :
The vulnerability can lead to a crash of the dnsmasq service due to a heap out-of-bounds read triggered by a malformed DNS response. This can cause denial of service, potentially disrupting network services that rely on dnsmasq for DNS resolution.