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

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.

Published: 2025-07-11 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-52986 is rated Low Risk (34.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.07%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-52986

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-07 0.01% 0.07% +0.06%
2 2025-07-12 0.01%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-52986

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:A/V:X/RE:M/U:X Click to expand
Attack vector (AV:L)
Attacker needs local access on the target system.
Attack complexity (AC:L)
Exploitation conditions are straightforward and stable.
Attack requirements (AT:N)
No additional preconditions are required beyond normal reachability.
Privileges required (PR:L)
Low privileges are required.
User interaction (UI:N)
No user interaction is required.
Vulnerable system confidentiality impact (VC:N)
No confidentiality impact on the vulnerable system.
Vulnerable system integrity impact (VI:N)
No integrity impact on the vulnerable system.
Vulnerable system availability impact (VA:H)
High availability impact on the vulnerable system.
Subsequent system confidentiality impact (SC:N)
No confidentiality impact on subsequent systems.
Subsequent system integrity impact (SI:N)
No integrity impact on subsequent systems.
Subsequent system availability impact (SA:L)
Limited availability impact on subsequent systems.
Exploit maturity (threat) (E:X)
Not defined: no reliable threat intelligence; scoring assumes the worst case (equivalent to Attacked).
Confidentiality requirement (CR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Integrity requirement (IR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Availability requirement (AR:X)
Not defined: insufficient information; scoring treats this like High (worst case).
Modified attack vector (MAV:X)
Not defined: scoring uses the Base Attack Vector (AV).
Modified attack complexity (MAC:X)
Not defined: scoring uses the Base Attack Complexity (AC).
Modified attack requirements (MAT:X)
Not defined: scoring uses the Base Attack Requirements (AT).
Modified privileges required (MPR:X)
Not defined: scoring uses the Base Privileges Required (PR).
Modified user interaction (MUI:X)
Not defined: scoring uses the Base User Interaction (UI).
Modified vulnerable system confidentiality impact (MVC:X)
Not defined: scoring uses the Base VC metric.
Modified vulnerable system integrity impact (MVI:X)
Not defined: scoring uses the Base VI metric.
Modified vulnerable system availability impact (MVA:X)
Not defined: scoring uses the Base VA metric.
Modified subsequent system confidentiality impact (MSC:X)
Not defined: scoring uses the Base SC metric.
Modified subsequent system integrity impact (MSI:X)
Not defined: scoring uses the Base SI metric.
Modified subsequent system availability impact (MSA:X)
Not defined: scoring uses the Base SA metric.
Safety (supplemental) (S:X)
Not evaluated.
Automatable (supplemental) (AU:Y)
Yes: all four kill-chain steps (reconnaissance, weaponization, delivery, exploitation) can be automated.
Recovery (supplemental) (R:A)
Automatic: services recover on their own after an attack.
Value density (supplemental) (V:X)
Not evaluated.
Vulnerability response effort (supplemental) (RE:M)
Moderate effort (remote update, disable subsystem, simple upgrade with minor service impact).
Provider urgency (supplemental) (U:X)
Not evaluated.
[email protected]
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]

Weakness enumeration for CVE-2025-52986

Affected software / configurations for CVE-2025-52986

Vendor Product Version Raw CPE
juniper junos < 21.2 cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:-:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r1-s1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r1-s2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r2-s1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r2-s2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s1:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s2:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s3:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s4:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s5:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s6:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s7:*:*:*:*:*:*
juniper junos 21.2 cpe:2.3:o:juniper:junos:21.2:r3-s8:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r2-s1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r2-s2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s1:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s10:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s2:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s3:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s4:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s5:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s6:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s7:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s8:*:*:*:*:*:*
juniper junos 21.4 cpe:2.3:o:juniper:junos:21.4:r3-s9:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:-:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r1-s1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r1-s2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r2-s1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r2-s2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s1:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s2:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s3:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s4:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s5:*:*:*:*:*:*
juniper junos 22.2 cpe:2.3:o:juniper:junos:22.2:r3-s6:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:-:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r1-s1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r1-s2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r2-s1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r2-s2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s1:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s2:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s3:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s4:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s5:*:*:*:*:*:*
juniper junos 22.4 cpe:2.3:o:juniper:junos:22.4:r3-s6:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:-:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r1:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r1-s1:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r1-s2:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r2:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r2-s1:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r2-s2:*:*:*:*:*:*
juniper junos 23.2 cpe:2.3:o:juniper:junos:23.2:r2-s3:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:-:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r1:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r1-s1:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r1-s2:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r2:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r2-s1:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r2-s2:*:*:*:*:*:*
juniper junos 23.4 cpe:2.3:o:juniper:junos:23.4:r2-s3:*:*:*:*:*:*
juniper junos 24.2 cpe:2.3:o:juniper:junos:24.2:-:*:*:*:*:*:*

References for CVE-2025-52986

cvelogic Threat Intelligence