{"id":"CVE-2026-5172","aliases":["CVE-2026-5172"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2026-5172","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-05-11T16:48:46.219Z","modified":"2026-09-01T12:04:54.715Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2.92rel2","status":"affected"}],"vendor":"dnsmasq","product":"dnsmasq","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.90-7.el10_2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"dnsmasq","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"dnsmasq","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"dnsmasq","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"dnsmasq","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"dnsmasq","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"}],"references":[{"url":"https://www.kb.cert.org/vuls/id/471747","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://thekelleys.org.uk/dnsmasq/CVE/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/NixOS/nixpkgs/pull/519082","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/NixOS/nixpkgs/pull/519093","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/pi-hole/FTL/releases/tag/v6.6.2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-5172","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458521","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19158","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-13T12:47:52.137Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5172","url":"https://www.cve.org/CVERecord?id=CVE-2026-5172","licence":"CVE Terms of Use","modified":"2026-09-01T12:04:54.715Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5172","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5172","licence":"Public domain","modified":"2026-08-24T13:19:12.803Z"}],"updatedAt":"2026-11-25T22:59:21.242Z","epss":{"score":0.02683,"percentile":0.86242,"date":"2026-12-01T12:00:22.000Z"}}