# CVE-2025-52986: Junos OS and Junos OS Evolved: When RIB sharding is configured each time a show command is executed RPD memory leaks

- Severity: Medium 6.8 (CVSS:4.0, scored by juniper) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/RE:M`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-07-11T15:10:20.934Z
- Modified: 2026-06-17T09:37:22.663Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: juniper

## Description

A Missing Release of Memory after Effective Lifetime vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low privileged user to cause an impact to the availability of the device.

When RIB sharding is enabled and a user executes one of several routing related 'show' commands, a certain amount of memory is leaked. When all available memory has been consumed rpd will crash and restart.

The leak can be monitored with the CLI command:



show task memory detail | match task_shard_mgmt_cookie



where the allocated memory in bytes can be seen to continuously increase with each exploitation.



This issue affects:

Junos OS:

  *  all versions before 21.2R3-S9,
  *  21.4 versions before 21.4R3-S11,
  *  22.2 versions before 22.2R3-S7,
  *  22.4 versions before 22.4R3-S7,
  *  23.2 versions before 23.2R2-S4, 
  *  23.4 versions before 23.4R2-S4,
  *  24.2 versions before 24.2R2,
  *  24.4 versions before 24.4R1-S2, 24.4R2;


Junos OS Evolved:

  *  all versions before 22.2R3-S7-EVO
  *  22.4-EVO versions before 22.4R3-S7-EVO,
  *  23.2-EVO versions before 23.2R2-S4-EVO,
  *  23.4-EVO versions before 23.4R2-S4-EVO,
  *  24.2-EVO versions before 24.2R2-EVO, 
  *  24.4-EVO versions before 24.4R2-EVO.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: before 21.2R3-S9; from 21.4 before 21.4R3-S11; from 22.2 before 22.2R3-S7; from 22.4 before 22.4R3-S7; from 23.2 before 23.2R2-S4; from 23.4 before 23.4R2-S4; from 24.2 before 24.2R2; from 24.4 before 24.4R1-S2, 24.4R2
- Juniper Networks Junos OS Evolved: before 22.2R3-S7-EVO; from 22.4-EVO before 22.4R3-S7-EVO; from 23.2-EVO before 23.2R2-S4-EVO; from 23.4-EVO before 23.4R2-S4-EVO; from 24.2-EVO before 24.2R2-EVO; from 24.4-EVO before 24.4R2-EVO
- juniper junos: before 21.2; 21.2; 21.4; 22.2; 22.4
- juniper junos_os_evolved: before 22.2; 22.2; 22.4; 23.2; 23.4; 24.2; 24.4

## Every score

- juniper: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- juniper: CVSS:4.0 6.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/RE:M`

## References

- <https://supportportal.juniper.net/JSA100092> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-52986](https://www.cve.org/CVERecord?id=CVE-2025-52986), CVE Terms of Use, modified 2025-07-15
- NVD: [CVE-2025-52986](https://nvd.nist.gov/vuln/detail/CVE-2025-52986), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52986 · Whole record: https://cve.day/CVE-2025-52986.json · Rebuilt by cve.day 2026-11-25T22:59:01.161Z
