On affected platforms running Arista EOS with IPsec configured, a specially crafted packet can cause the dataplane to stop processing all IPsec traffic. The control plane may detect this condition, and attempt to reset the IPsec processing pipeline. After reset traffic may not resume being processed. There is no impact to non-IPsec traffic or to IPsec traffic not originating or terminating on the system. This issue was reported by an Arista customer.
In order to be vulnerable to CVE-2025-8873, the following condition must be met: IPsec must be configured:
switch>show ip security connection
Legend: (P) policy based VPN tunnel
Tunnel Source Dest Status Uptime Input Output Rekey Time
Tunnel8 10.0.0.1 10.0.0.2 Established 1 minute 0 bytes 0 bytes 54 minutes 30 pkts 30 pkts.
If IPsec is not configured there is no exposure to this issue and the message will look like:
switch>show ip security connection
Legend: (P) policy based VPN tunnel.
There are no mitigations for this vulnerability.
The recommended resolution is to upgrade to a remediated software version at your earliest convenience. Arista recommends customers move to the latest version of each release that contains all the fixes listed below. For more information about upgrading see https://www.arista.com/en/support/toi/tcam-profile?pn=ipsec-egress-padding-removal .
This may momentarily impact traffic. Apply the configuration found at the url to create a TCAM profile and then apply the TCAM profile as shown below.
switch(config)#hardware tcam
switch(config-tcam)#system profile ipsec-egress-padding-removal
!
WARNING!
Changing TCAM profile will cause forwarding agent(s) to exit and restart.
All traffic through the forwarding chip managed by the restarting
forwarding agent will be dropped.
Proceed [y/n]y
switch(config-tcam)#
To ensure the TCAM profile has been applied, run the following command and verify the Configuration and Status values match ipsec-egress-padding-removal:
switch(config-tcam)#show hardware tcam profile
Configuration Status
FixedSystem ipsec-egress-padding-removal
ipsec-egress-padding-removal
‘ipsec-egress-padding-removal’ differs from the ‘ipsec’ TCAM profile in two ways:
- Egress IP ACLs are disabled
- Fixes for BUG603398 and BUG1246592 are applied