{"schemaVersion":3,"id":"CVE-2026-5172","aliases":["ALPINE-CVE-2026-5172","UBUNTU-CVE-2026-5172","DEBIAN-CVE-2026-5172","CGA-45f5-m9c6-7x9w","CGA-6x3q-xpqp-rhr9","CGA-mjj7-m5qc-5f84","CGA-qr94-72v9-hwxq"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-05-11T16:48:46.219Z","modified":"2026-09-01T12:04:54.715Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":10,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00687,"percentile":0.51847,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-1.9959999999999998,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02683},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00687,"percentile":0.51847}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02683,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00687,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00687,"percentile":0.51847}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"alpine","product":"dnsmasq","name":"dnsmasq","label":"dnsmasq","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/dnsmasq","purlType":"apk","versions":[{"text":"< 2.91-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.92_p2-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.91-r1 | < 2.92_p2-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"dnsmasq","name":"dnsmasq","label":"dnsmasq","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dnsmasq","purlType":"apk","versions":[{"text":"< 2.93-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.93-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"dnsmasq-doc","name":"dnsmasq-doc","label":"dnsmasq-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dnsmasq-doc","purlType":"apk","versions":[{"text":"< 2.93-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.93-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"dnsmasq","name":"dnsmasq","label":"dnsmasq","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/dnsmasq","purlType":"apk","versions":[{"text":"< 2.93-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.93-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"dnsmasq-doc","name":"dnsmasq-doc","label":"dnsmasq-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/dnsmasq-doc","purlType":"apk","versions":[{"text":"< 2.93-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.93-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"dnsmasq","name":"dnsmasq","label":"dnsmasq","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/dnsmasq","purlType":"deb","versions":[{"text":"< 2.90-4~deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.91-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.92-5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.90-4~deb12u2 | < 2.91-1+deb13u1 | < 2.92-5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dnsmasq","name":"dnsmasq","label":"dnsmasq","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dnsmasq","purlType":"deb","versions":[{"text":"< 2.90-0ubuntu0.16.04.1+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.90-0ubuntu0.18.04.1+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.90-0ubuntu0.20.04.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.90-0ubuntu0.22.04.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.90-2ubuntu0.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.91-1ubuntu0.2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.92-1ubuntu0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.90-0ubuntu0.16.04.1+esm3 | < 2.90-0ubuntu0.18.04.1+esm3 | < 2.90-0ubuntu0.20.04.1+esm2 | < 2.90-0ubuntu0.22.04.3 | < 2.90-2ubuntu0.3 | < 2.91-1ubuntu0.2 | < 2.92-1ubuntu0.2","eol":null,"hubHref":null},{"vendor":"dnsmasq","product":"dnsmasq","name":"dnsmasq","label":"dnsmasq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.92rel2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.92rel2","eol":null,"hubHref":"/vendor/dnsmasq/dnsmasq"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.kb.cert.org/vuls/id/471747","label":"www.kb.cert.org/vuls/id/471747","hostname":"www.kb.cert.org","tags":["WEB"]},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html","label":"lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html","hostname":"lists.thekelleys.org.uk","tags":["WEB"]},{"url":"https://thekelleys.org.uk/dnsmasq/CVE/","label":"thekelleys.org.uk/dnsmasq/CVE/","hostname":"thekelleys.org.uk","tags":["WEB"]},{"url":"https://github.com/NixOS/nixpkgs/pull/519082","label":"github.com/NixOS/nixpkgs/pull/519082","hostname":"github.com","tags":["FIX"]},{"url":"https://github.com/NixOS/nixpkgs/pull/519093","label":"github.com/NixOS/nixpkgs/pull/519093","hostname":"github.com","tags":["FIX"]},{"url":"https://github.com/pi-hole/FTL/releases/tag/v6.6.2","label":"github.com/pi-hole/FTL/releases/tag/v6.6.2","hostname":"github.com","tags":["WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-5172","label":"access.redhat.com/security/cve/CVE-2026-5172","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458521","label":"bugzilla.redhat.com/show_bug.cgi?id=2458521","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19158","label":"access.redhat.com/errata/RHSA-2026:19158","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-5172","label":"security.alpinelinux.org/vuln/CVE-2026-5172","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-5172","label":"ubuntu.com/security/CVE-2026-5172","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5172","label":"www.cve.org/CVERecord?id=CVE-2026-5172","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8268-1","label":"ubuntu.com/security/notices/USN-8268-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-5172","label":"security-tracker.debian.org/tracker/CVE-2026-5172","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5172.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5172.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5172","label":"nvd.nist.gov/vuln/detail/CVE-2026-5172","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0135","OPENSUSE-SU-2026:10821-1","RHSA-2026:19158","SUSE-SU-2026:2458-1"],"duplicates":[],"related":["CGA-38VC-7RXF-2WPQ","OPENSUSE-SU-2026:10821-1","SUSE-SU-2026:2458-1","USN-8268-1"]},"timeline":[{"kind":"published","date":"2026-05-11T16:48:46.219Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-01T12:04:54.715Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:38:42.521Z","stale":false,"partial":false}}