CVE-2025-52986
BaseFortify
Publication date: 2025-07-11
Last updated on: 2025-07-15
Assigner: Juniper Networks, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| juniper | junos_os_evolved | * |
| juniper | junos_os | * |
Helpful Resources
Exploitability
| 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.