# CVE-2024-39542: Junos OS and Junos OS Evolved: A malformed CFM packet or specific transit traffic leads to FPC crash

- Vendor: Juniper Networks, Junos OS, Junos OS Evolved
- Severity: HIGH (CVSS 4.0 8.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.5% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA83002, https://supportportal.juniper.net/JSA83002
- Published: 2024-07-10; updated: 2024-07-11
- Page: https://patchtonight.com/cve/CVE-2024-39542/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (MX Series with MPC10 MPC11 or LC9600, MX304) 0 | 21.2R3-S4 or later |
| Junos OS (MX Series with MPC10 MPC11 or LC9600, MX304) 21.4 | 21.4R2 or later |
| Junos OS (MX Series with MPC10 MPC11 or LC9600, MX304) 22.2 | 22.2R2-S1, 22.2R3 or later |
| Junos OS Evolved (PTX Series, ACX Series) 0 | 21.2R3-S8-EVO or later |
| Junos OS Evolved (PTX Series, ACX Series) 21.4 | 21.4R2-EVO or later |

## The vendor's description

An Improper Validation of Syntactic Correctness of Input vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series with MPC10/11 or LC9600, MX304, and Junos OS Evolved on ACX Series and PTX Series allows an unauthenticated, network based attacker to cause a Denial-of-Service (DoS).

This issue can occur in two scenarios:

1. If a device, which is configured with SFLOW and ECMP, receives specific valid transit traffic, which is subject to sampling, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. (This scenario is only applicable to PTX but not to ACX or MX.)

2. If a device receives a malformed CFM packet on an interface configured with CFM, the packetio process crashes, which in turn leads to an evo-aftman crash and causes the FPC to stop working until it is restarted. Please note that the CVSS score is for the formally more severe issue 1.

The CVSS score for scenario 2. is: 6.5 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)




This issue affects Junos OS:



  *  All versions before 21.2R3-S4,
  *  21.4 versions before 21.4R2,
  *  22.2 versions before 22.2R3-S2; 




Junos OS Evolved:




  *  All versions before 21.2R3-S8-EVO,
  *  21.4 versions before 21.4R2-EVO.

## Workarounds

There are no known workarounds for this issue.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA83002)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
