CVE-2025-52986
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA memory leak in the routing protocol daemon (rpd) of Juniper Junos OS and Junos OS Evolved allows a local low-privileged user to cause a denial of service by executing certain routing-related 'show' commands when RIB sharding is enabled. The leaked memory accumulates with each command execution until rpd exhausts all available memory and crashes.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 21.2= 21.2= 21.4= 22.2= 22.4= 23.2= 23.4= 24.2= 24.4< 22.2= 22.2= 22.4= 23.2= 23.4= 24.2= 24.4CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Junos OS/Evolved versionRun 'show version' in the CLI and note the installed version stringAffected if The installed version matches one of the affected versions listed in the CVE (< 21.2, 21.2, 21.4, 22.2, 22.4, 23.2, 23.4, 24.2, 24.4 for Junos; < 22.2, 22.2, 22.4, 23.2, 23.4, 24.2, 24.4 for Junos OS Evolved)
-
Verify RIB sharding is enabledRun the CLI command to display RIB sharding configuration status (typically 'show routing kernel' or 'show configuration routing-options' to inspect sharding settings)Affected if RIB sharding is enabled on the device - this is a required condition for the vulnerability to be exploitable
-
Monitor rpd memory consumptionRun 'show system processes extensive' or 'show system memory' periodically to observe rpd process memory usage over timeAffected if rpd memory usage shows continuous growth without returning to baseline after executing routing-related show commands
-
Check for rpd crash logsRun 'show log messages' and search for rpd crash indicators or core dump entriesAffected if Recent rpd crashes or core dumps are present, especially if correlated with execution of routing show commands
The system is affected if it runs a vulnerable Junos version AND has RIB sharding enabled, with rpd memory growing abnormally or recent rpd crashes observed.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped21.222.2
Apply the vendor-supplied patches for the affected Junos OS/Evolved versions. Until patching is possible, monitor memory usage using the documented CLI command and consider disabling RIB sharding if operationally feasible.
Upgrade to the version-specific patch: Junos OS: 21.2R3-S9, 21.4R3-S11, 22.2R3-S7, 22.4R3-S7, 23.2R2-S4, 23.4R2-S4, 24.2R2, or 24.4R2 | Junos OS Evolved: 22.2R3-S7-EVO, 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S4-EVO, 24.2R2-EVO, or 24.4R2-EVO
- 1. Identify the currently running Junos OS or Junos OS Evolved version using 'show version'
- 2. Determine the appropriate upgrade path based on the current version branch (21.2, 21.4, 22.2, 22.4, 23.2, 23.4, 24.2, or 24.4)
- 3. For Junos OS: upgrade to 21.2R3-S9 (if on 21.2 train), 21.4R3-S11 (if on 21.4), 22.2R3-S7 (if on 22.2), 22.4R3-S7 (if on 22.4), 23.2R2-S4 (if on 23.2), 23.4R2-S4 (if on 23.4), 24.2R2 (if on 24.2), or 24.4R1-S2/24.4R2 (if on 24.4)
- 4. For Junos OS Evolved: upgrade to 22.2R3-S7-EVO (if on 22.2), 22.4R3-S7-EVO (if on 22.4), 23.2R2-S4-EVO (if on 23.2), 23.4R2-S4-EVO (if on 23.4), 24.2R2-EVO (if on 24.2), or 24.4R2-EVO (if on 24.4)
- 5. Before upgrading, backup the current configuration using 'request system snapshot'
- 6. Perform the upgrade using 'request system software add' with the appropriate upgrade package
- 7. After upgrade, reboot the device using 'request system reboot'
- 8. Post-upgrade, verify the fix by checking memory usage: show task memory detail | match task_shard_mgmt_cookie
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-52986 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-52986 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data