# CVE-2024-39540: Junos OS: SRX Series, and MX Series with SPC3: Specific valid TCP traffic can cause a pfe crash

- Vendor: Juniper Networks, Junos OS
- 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: JSA83000, https://supportportal.juniper.net/JSA83000
- Published: 2024-07-10; updated: 2024-07-11
- Page: https://patchtonight.com/cve/CVE-2024-39540/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (SRX Series, MX Series) 21.2R3-S5 | 21.2R3-S6 or later |

## The vendor's description

An Improper Check for Unusual or Exceptional Conditions vulnerability in the Packet Forwarding Engine (pfe) of Juniper Networks Junos OS on SRX Series, and MX Series with SPC3 allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS).

When an affected device receives specific valid TCP traffic, the pfe crashes and restarts leading to a momentary but complete service outage.

This issue affects Junos OS:

21.2 releases from 21.2R3-S5 before 21.2R3-S6.

This issue does not affect earlier or later releases.

## Workarounds

There are no known workarounds for this issue.

## Sources

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

---

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.
