{"id":"CVE-2021-45956","aliases":["CVE-2021-45956"],"related":[],"kind":"vulnerability","state":"published","title":"Dnsmasq 2.86 has a heap-based buffer overflow in printmac (called from logpacket and dhcpreply).","summary":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). NOTE: the vendor's position is that CVE-2021-45951 through CVE-2021-45957 \"do not represent real vulnerabilities, to the best of our knowledge.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply). NOTE: the vendor's position is that CVE-2021-45951 through CVE-2021-45957 \"do not represent real vulnerabilities, to the best of our knowledge.","source":"cvelist"},{"lang":"es","text":"** EN DISPUTA ** Dnsmasq versión 2.86 presenta un desbordamiento de buffer en la región heap de la memoria en la función print_mac (llamado desde log_packet y dhcp_reply). NOTA: la posición del proveedor es que CVE-2021-45951 a CVE-2021-45957 \"no representan vulnerabilidades reales, según nuestro conocimiento\".","source":"nvd"}],"published":"2021-12-31T23:53:34.000Z","modified":"2026-06-17T04:14:19.290Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"2.86","status":"affected"}],"vendor":"thekelleys","product":"dnsmasq","cpe":"cpe:2.3:a:thekelleys:dnsmasq:2.86:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.86"}],"vendor":"thekelleys","product":"dnsmasq","cpe":"cpe:2.3:a:thekelleys:dnsmasq:2.86:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/dnsmasq/OSV-2021-933.yaml","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35887","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016162.html","tags":["mailing-list","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q1/016164.html","tags":["mailing-list","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-07-18T15:21:23.662Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45956","url":"https://www.cve.org/CVERecord?id=CVE-2021-45956","licence":"CVE Terms of Use","modified":"2024-10-28T20:56:27.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45956","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45956","licence":"Public domain","modified":"2026-06-17T04:14:19.290Z"}],"updatedAt":"2026-11-25T22:58:06.316Z","epss":{"score":0.02709,"percentile":0.86376,"date":"2026-12-01T12:00:22.000Z"}}