CVE-2025-52986: Junos OS and Junos OS Evolved: When RIB sharding is configured each time a show command is executed RPD memory leaks
Noroxi assessment
Priority: Monitor (action score 27/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.13% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Juniper Networks Junos OS 21.2R3-S9, 21.4R3-S11, 22.2R3-S7; Juniper Networks Junos OS Evolved 22.2R3-S7-EVO, 22.4R3-S7-EVO, 23.2R2-S4-EVO.
Low priority for now. Upgrade to Juniper Networks Junos OS 21.2R3-S9, 21.4R3-S11, 22.2R3-S7; Juniper Networks Junos OS Evolved 22.2R3-S7-EVO, 22.4R3-S7-EVO, 23.2R2-S4-EVO or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Jul 11, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-401
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · juniper
- 5.5
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| juniper | junos | cpe:2.3:o:juniper:junos |
| juniper | junos os evolved | cpe:2.3:o:juniper:junos_os_evolved |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- juniper junosbefore 21.2
- juniper junos21.2
- juniper junos21.4
- juniper junos22.2
- juniper junos22.4
- juniper junos23.2
- juniper junos23.4
- juniper junos24.2
- juniper junos24.4
- juniper junos os evolvedbefore 22.2
- juniper junos os evolved22.2
- juniper junos os evolved22.4
- juniper junos os evolved23.2
- juniper junos os evolved23.4
- juniper junos os evolved24.2
- juniper junos os evolved24.4
Versions reported by the vendor
Affected version ranges reported by the assigning authority (juniper). Independent of NVD's CPE analysis and usually ahead of it.
Juniper Networks Junos OS
- before 21.2R3-S9affected · semver
- 21.4 and later · before 21.4R3-S11affected · semver
- 22.2 and later · before 22.2R3-S7affected · semver
- 22.4 and later · before 22.4R3-S7affected · semver
- 23.2 and later · before 23.2R2-S4affected · semver
- 23.4 and later · before 23.4R2-S4affected · semver
- 24.2 and later · before 24.2R2affected · semver
- 24.4 and later · before 24.4R1-S2, 24.4R2affected · semver
Juniper Networks Junos OS Evolved
- before 22.2R3-S7-EVOaffected · semver
- 22.4-EVO and later · before 22.4R3-S7-EVOaffected · semver
- 23.2-EVO and later · before 23.2R2-S4-EVOaffected · semver
- 23.4-EVO and later · before 23.4R2-S4-EVOaffected · semver
- 24.2-EVO and later · before 24.2R2-EVOaffected · semver
- 24.4-EVO and later · before 24.4R2-EVOaffected · semver
Same product
juniper: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-36845Junos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to control an important environment variableKEV98Now
- CVE-2023-36846Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary filesKEV79This week
- CVE-2023-36844Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variablesKEV78This week
Published before and after this one in the same product
- ← EarlierCVE-2025-52983Jul 11, 2025 · Junos OS: After removing ssh public key authentication root can still log in34Monitor
- ← EarlierCVE-2025-52984Jul 11, 2025 · Junos OS and Junos OS Evolved: When a static route points to a reject next-hop and a gNMI query for this route is processed, RPD crashes32Monitor
- Later →CVE-2025-52988Jul 11, 2025 · Junos OS and Junos OS Evolved: Privilege escalation to root via CLI command 'request system logout'33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Juniper Networks Junos OS | 21.2R3-S9 | Vendor (CNA) |
| Juniper Networks Junos OS | 21.4R3-S11 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.2R3-S7 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.4R3-S7 | Vendor (CNA) |
| Juniper Networks Junos OS | 23.2R2-S4 | Vendor (CNA) |
| Juniper Networks Junos OS | 23.4R2-S4 | Vendor (CNA) |
| Juniper Networks Junos OS | 24.2R2 | Vendor (CNA) |
| Juniper Networks Junos OS | 24.4R1-S2, 24.4R2 | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.2R3-S7-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.4R3-S7-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 23.2R2-S4-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 23.4R2-S4-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 24.2R2-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 24.4R2-EVO | Vendor (CNA) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-3065893 days apartJunos OS: SRX Series: On devices with Anti-Virus enabled, malicious server responses will cause memory to leak ultimately causing forwarding to stop34Monitor
- CVE-2026-33782272 days apartJunos OS: MX Series: In specific DHCPv6 scenarios jdhcpd memory increases continuously with subscriber logouts34Monitor
- CVE-2024-39549365 days apartJunos OS and Junos OS Evolved: Receipt of malformed BGP path attributes leads to a memory leak34Monitor
- CVE-2025-2159593 days apartJunos OS and Junos OS Evolved: In an EVPN-VXLAN scenario specific ARP or NDP packets cause FPC to crash28Monitor
- CVE-2025-3064793 days apartJunos OS: MX Series: Subscriber login/logout activity will lead to a memory leak28Monitor
- CVE-2026-21909188 days apartJunos OS and Junos OS Evolved: Receipt of specific IS-IS update packet causes memory leak leading to RPD crash28Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-401 · Missing Release of Memory after Effective LifetimeCVSS vector
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
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.