CVE-2021-45956
NixOS vulnerability analysis and mitigation

Overview

Dnsmasq 2.86 contains a heap-based buffer overflow vulnerability in the printmac function, which is called from logpacket and dhcp_reply functions. This vulnerability has been assigned CVE-2021-45956. However, this vulnerability is disputed, as the vendor has stated that this and related CVEs (CVE-2021-45951 through CVE-2021-45957) "do not represent real vulnerabilities" (MITRE CVE, NVD).

Technical details

The vulnerability was discovered through OSS-Fuzz testing and was classified as a heap-buffer-overflow WRITE 4 issue in the printmac function. The CVSS v3.1 base score is 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The issue affects Dnsmasq version 2.86 and was identified in the code path from logpacket and dhcp_reply functions (OSS-Fuzz Report).

Impact

If successfully exploited, this heap-based buffer overflow vulnerability could potentially allow attackers to cause a denial of service or possibly execute arbitrary code on affected systems. However, given the disputed nature of the vulnerability, the actual impact may be minimal or non-existent (NVD).

Mitigation and workarounds

Given that the vendor disputes the validity of this vulnerability, no official patches have been released specifically for this issue. The vendor has submitted a request to MITRE to cancel this CVE along with related ones (Dnsmasq Discussion).

Community reactions

The security community has shown mixed reactions to this vulnerability. While some researchers have attempted to validate the issue through fuzzing tests, others support the vendor's position that these are not real vulnerabilities. Red Hat engineers have investigated the reported issues and suggested that many of the failures might be caused by incorrect fuzzing implementation (Dnsmasq Discussion).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management