LiveActive security incident?Get immediate response
CVE Record

CVE-2021-45956: Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This CVE reports a heap-based buffer overflow in Dnsmasq 2.86 during MAC address logging. The record carries a critical CVSS score, but the upstream vendor stated this CVE range does not represent real vulnerabilities to their knowledge. Treat it as a validation and vendor-tracking item rather than assumed emergency exploitation.

Executive priority

Do not ignore the critical score, but avoid panic. Assign vulnerability management to verify actual product exposure and vendor position. Escalate only where Dnsmasq 2.86 is confirmed in sensitive or exposed network service paths.

Technical view

CVE-2021-45956 is described as CWE-787 in Dnsmasq 2.86, affecting print_mac when called from log_packet and dhcp_reply. The CVSS vector is network, unauthenticated, low complexity, high impact. However, provided sources include a vendor dispute, no CPEs, and no confirmed exploit evidence.

Likely exposure

Potential exposure is limited to environments running Dnsmasq 2.86 or downstream builds that include the reported code path. Because the CVE record lists no CPEs and the vendor disputes practical vulnerability, asset owners should verify package provenance and vendor advisory status.

Exploitation context

The supplied bundle does not show CISA KEV listing or active exploitation. The finding appears to originate from OSS-Fuzz reporting and CVE publication. Vendor correspondence disputes whether these reports are real vulnerabilities, so exploitability should not be assumed from CVSS alone.

Researcher notes

The strongest caveat is source conflict: CVE and OSS-Fuzz identify a heap overflow, while dnsmasq upstream states CVE-2021-45951 through CVE-2021-45957 do not represent real vulnerabilities to their knowledge. No patch, affected CPE, or exploitation confirmation is provided in the bundle.

Mitigation direction

  • Inventory Dnsmasq versions across servers, appliances, containers, and embedded network devices.
  • Check upstream, OS vendor, and appliance vendor guidance for confirmed status and fixes.
  • Prioritize review of internet-exposed or untrusted-network DNS/DHCP deployments.
  • Document accepted risk if your vendor confirms the issue is non-exploitable.
  • Track future CVE, distro, and vendor updates for changed status.

Validation and detection

  • Confirm whether any deployed package reports Dnsmasq 2.86 or a derived build.
  • Map where Dnsmasq handles DNS, DHCP, or router-adjacent network services.
  • Review vendor advisories for the exact package build and patch lineage.
  • Check vulnerability scanner findings for source, version evidence, and vendor dispute handling.
  • Look for IDS, crash, or service instability signals without attempting exploitation.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-45956 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2021-45956Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.