# CVE-2025-30647: Junos OS: MX Series: Subscriber login/logout activity will lead to a memory leak

- Vendor: Juniper Networks, Junos OS
- Severity: HIGH (CVSS 4.0 7.1)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA96457, https://supportportal.juniper.net/JSA96457
- Published: 2025-04-09; updated: 2025-04-09
- Page: https://patchtonight.com/cve/CVE-2025-30647/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (MX Series) 0 | 21.2R3-S9 or later |
| Junos OS (MX Series) 21.4 | 21.4R3-S10 or later |
| Junos OS (MX Series) 22.2 | 22.2R3-S6 or later |
| Junos OS (MX Series) 22.4 | 22.4R3-S5 or later |
| Junos OS (MX Series) 23.2 | 23.2R2-S3 or later |
| Junos OS (MX Series) 23.4 | 23.4R2-S3 or later |
| Junos OS (MX Series) 24.2 | 24.2R2 or later |

## The vendor's description

A Missing Release of Memory after Effective Lifetime vulnerability in the packet forwarding engine (PFE) of Juniper Networks Junos OS on MX Series allows an unauthenticated adjacent attacker to cause a Denial-of-Service (DoS).

In a subscriber management scenario, login/logout activity triggers a memory leak, and the leaked memory gradually increments and eventually results in a crash. 
   
           user@host> show chassis fpc
                                       Temp    CPU Utilization (%)   CPU Utilization (%)   Memory      Utilization (%)
                      Slot State       (C)     Total   Interrupt      1min   5min  15min    DRAM (MB)  Heap     Buffer

                      2  Online         36        10          0          9      8      9         32768       26          0
                                                                                                     

This issue affects Junos OS on MX Series: 
  *  All versions before 21.2R3-S9
  *  from 21.4 before 21.4R3-S10
  *  from 22.2 before 22.2R3-S6
  *  from 22.4 before 22.4R3-S5
  *  from 23.2 before 23.2R2-S3
  *  from 23.4 before 23.4R2-S3
  *  from 24.2 before 24.2R2.

## Workarounds

There are no known workarounds for this issue.

## Sources

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

---

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.
