CVE-2026-5172
Received Received - Intake
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
A buffer overflow in dnsmasq’s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record’s end.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-11
Last Modified
2026-05-11
Generated
2026-05-11
AI Q&A
2026-05-11
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
the_dnsmasq_project dnsmasq *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart