# CVE-2024-39518: Junos OS: MX240, MX480, MX960 platforms using MPC10E: Memory leak will be observed when subscribed to a specific subscription on Junos Telemetry Interface

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (MX240 using MPC10E, MX480 using MPC10E, MX960 using MPC10E) 21.2R3-S5 | 21.2R3-S7 or later |
| Junos OS (MX240 using MPC10E, MX480 using MPC10E, MX960 using MPC10E) 21.4R3-S4 | 21.4R3-S6 or later |
| Junos OS (MX240 using MPC10E, MX480 using MPC10E, MX960 using MPC10E) 22.2R3 | 22.2R3-S4 or later |
| Junos OS (MX240 using MPC10E, MX480 using MPC10E, MX960 using MPC10E) 22.3R2 | 22.3R3-S2 or later |
| Junos OS (MX240 using MPC10E, MX480 using MPC10E, MX960 using MPC10E) 22.4R1 | 22.4R3 or later |
| Junos OS (MX240 using MPC10E, MX480 using MPC10E, MX960 using MPC10E) 23.2R1 | 23.2R2 or later |

## The vendor's description

A Heap-based Buffer Overflow vulnerability in the telemetry sensor process (sensord) of Juniper Networks Junos OS on MX240, MX480, MX960 platforms using MPC10E causes a steady increase in memory utilization, ultimately leading to a Denial of Service (DoS).

When the device is subscribed to a specific subscription on Junos Telemetry Interface, a slow memory leak occurs and eventually all resources are consumed and the device becomes unresponsive. A manual reboot of the Line Card will be required to restore the device to its normal functioning. 

This issue is only seen when telemetry subscription is active.

The Heap memory utilization can be monitored using the following command:
  > show system processes extensive

The following command can be used to monitor the memory utilization of the specific sensor
  > show system info | match sensord
   PID   NAME                 MEMORY     PEAK MEMORY    %CPU   THREAD-COUNT CORE-AFFINITY   UPTIME

   1986  sensord            877.57MB   877.57MB         2       4           0,2-15          7-21:41:32


This issue affects Junos OS: 



  *  from 21.2R3-S5 before 21.2R3-S7, 
  *  from 21.4R3-S4 before 21.4R3-S6, 
  *  from 22.2R3 before 22.2R3-S4, 
  *  from 22.3R2 before 22.3R3-S2, 
  *  from 22.4R1 before 22.4R3, 
  *  from 23.2R1 before 23.2R2.

## Workarounds

There are no known workarounds for this issue.

## Sources

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

---

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.
