Skip to main content

CVE-2025-7048: Arista EOS MACsec DOS Vulnerability

CVE-2025-7048 is a denial of service vulnerability in Arista EOS MACsec that allows specially crafted packets to terminate the MACsec process and disrupt dataplane traffic. This post covers technical details, affected configurations, impact analysis, and mitigation steps.

Updated:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-7048 Overview

CVE-2025-7048 affects Arista Networks EOS platforms configured with Media Access Control Security (MACsec). An adjacent attacker can send a specially crafted packet that terminates the MACsec process unexpectedly. Continuous receipt of these packets, combined with certain MACsec configurations, can cause longer-term disruption of dataplane traffic.

The root weakness is tracked as [CWE-805] Buffer Access with Incorrect Length Value. The flaw is categorized as a Denial of Service (DoS) vulnerability requiring adjacent network access with no authentication or user interaction.

Critical Impact

A crafted packet can crash the MACsec process on affected Arista EOS devices, and sustained packet floods can produce sustained dataplane disruption on secured links.

Affected Products

  • Arista EOS devices with MACsec configuration enabled
  • Arista platforms supporting MACsec on dataplane interfaces
  • See Arista Security Advisory #0132 for the full list of affected software trains and platforms

Discovery Timeline

  • 2026-01-06 - CVE-2025-7048 published to the National Vulnerability Database
  • 2026-10-07 - Last updated in NVD database

Technical Details for CVE-2025-7048

Vulnerability Analysis

The vulnerability resides in the MACsec packet processing path of Arista EOS. MACsec provides Layer 2 encryption and integrity between directly connected devices on an Ethernet link. When the MACsec process on an affected EOS device parses a specially crafted frame, it accesses a buffer using an incorrect length value and terminates unexpectedly.

If the EOS supervisor restarts the process, continuous receipt of the triggering packets will crash it repeatedly. Depending on the specific MACsec configuration, this restart loop prevents the device from establishing or maintaining Secure Associations (SAs) on affected links, disrupting dataplane traffic traversing those interfaces.

The flaw does not expose confidentiality or integrity of traffic. The documented impact is availability loss limited to the affected device and the MACsec-protected links it serves.

Root Cause

The underlying weakness is [CWE-805] Buffer Access with Incorrect Length Value. The MACsec parser reads or writes a buffer using a length that does not match the actual size of the data region. Processing a malformed MACsec-related frame drives the parser outside expected bounds and causes the process to abort.

Attack Vector

Exploitation requires adjacent network access. The attacker must be positioned on the same Layer 2 segment or a directly connected link where MACsec frames are accepted by the target interface. No credentials and no user interaction are required.

Because MACsec operates on directly attached links, the realistic attacker model is a compromised adjacent device, a rogue device connected to a secured port, or a compromised peer at the other end of a MACsec association. Remote internet-based exploitation is not applicable.

No public proof-of-concept exploit has been published, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. The EPSS exploitation probability remains low. See the Arista Security Advisory #0132 for technical details.

Detection Methods for CVE-2025-7048

Indicators of Compromise

  • Unexpected restarts of the MACsec agent process in EOS process logs or show agent logs
  • MACsec Secure Association (SA) flaps or failure to establish SAs on previously stable links
  • Repeated dataplane disruption on MACsec-protected interfaces without a corresponding physical link event
  • Log entries referencing MACsec frame parsing errors on affected interfaces

Detection Strategies

  • Monitor EOS agent state and crash logs for Macsec or related MACsec process termination events
  • Correlate MACsec session state changes with interface counters for malformed or dropped frames
  • Alert on interfaces that transition between MACsec-secured and unsecured states repeatedly within a short window

Monitoring Recommendations

  • Forward EOS syslog and process-restart events to a centralized SIEM or data lake for correlation
  • Baseline normal MACsec SA establishment frequency per interface and alert on deviations
  • Enable SNMP or streaming telemetry for interface error counters on MACsec-enabled ports

How to Mitigate CVE-2025-7048

Immediate Actions Required

  • Review Arista Security Advisory #0132 to identify affected EOS releases in your environment
  • Upgrade affected EOS devices to a fixed release identified in the advisory
  • Restrict physical and logical access to ports configured for MACsec to trusted peers only
  • Audit MACsec configurations on all edge and inter-site links for exposure

Patch Information

Arista Networks has published fix information in Arista Security Advisory #0132. Administrators should consult the advisory for the specific fixed EOS trains and apply upgrades following their standard change management process.

Workarounds

  • Where feasible, limit MACsec peering to physically secured links to reduce attacker proximity
  • Enforce strict port security and 802.1X on access ports that could expose MACsec-enabled interfaces to unauthorized devices
  • Monitor and automatically disable interfaces that exhibit repeated MACsec SA failures pending investigation

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.