CVE-2025-52986
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-11

Last updated on: 2025-07-15

Assigner: Juniper Networks, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-11
Last Modified
2025-07-15
Generated
2026-05-07
AI Q&A
2025-07-11
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
juniper junos_os_evolved *
juniper junos_os *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a Missing Release of Memory after Effective Lifetime issue in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved. When RIB sharding is enabled and a local, low privileged user executes certain routing-related 'show' commands, memory is leaked continuously. This memory leak eventually consumes all available memory, causing the rpd process to crash and restart.


How can this vulnerability impact me? :

The vulnerability can impact the availability of the affected device. Because the memory leak causes the routing protocol daemon (rpd) to crash and restart once all memory is consumed, this can lead to temporary loss of routing functionality and potential network disruption.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by monitoring the memory usage related to the routing protocol daemon (rpd). Specifically, you can use the CLI command: show task memory detail | match task_shard_mgmt_cookie. If the allocated memory in bytes continuously increases with each execution of certain routing related 'show' commands when RIB sharding is enabled, it indicates the presence of the memory leak vulnerability.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation involves updating the Junos OS or Junos OS Evolved to a fixed version that addresses this vulnerability. The affected versions are all versions before the following fixed releases: 21.2R3-S9, 21.4R3-S11, 22.2R3-S7, 22.4R3-S7, 23.2R2-S4, 23.4R2-S4, 24.2R2, 24.4R1-S2, and 24.4R2 for Junos OS; and corresponding fixed versions for Junos OS Evolved starting from 22.2R3-S7-EVO and later. Until the update can be applied, avoid executing the routing related 'show' commands that trigger the memory leak when RIB sharding is enabled to prevent rpd crashes.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart