{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-52986","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","state":"PUBLISHED","assignerShortName":"juniper","dateReserved":"2025-06-23T18:23:44.546Z","datePublished":"2025-07-11T15:10:20.934Z","dateUpdated":"2025-07-15T19:55:10.352Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Junos OS","vendor":"Juniper Networks","versions":[{"lessThan":"21.2R3-S9","status":"affected","version":"0","versionType":"semver"},{"lessThan":"21.4R3-S11","status":"affected","version":"21.4","versionType":"semver"},{"lessThan":"22.2R3-S7","status":"affected","version":"22.2","versionType":"semver"},{"lessThan":"22.4R3-S7","status":"affected","version":"22.4","versionType":"semver"},{"lessThan":"23.2R2-S4","status":"affected","version":"23.2","versionType":"semver"},{"lessThan":"23.4R2-S4","status":"affected","version":"23.4","versionType":"semver"},{"lessThan":"24.2R2","status":"affected","version":"24.2","versionType":"semver"},{"lessThan":"24.4R1-S2, 24.4R2","status":"affected","version":"24.4","versionType":"semver"}]},{"defaultStatus":"unaffected","product":"Junos OS Evolved","vendor":"Juniper Networks","versions":[{"lessThan":"22.2R3-S7-EVO","status":"affected","version":"0","versionType":"semver"},{"lessThan":"22.4R3-S7-EVO","status":"affected","version":"22.4-EVO","versionType":"semver"},{"lessThan":"23.2R2-S4-EVO","status":"affected","version":"23.2-EVO","versionType":"semver"},{"lessThan":"23.4R2-S4-EVO","status":"affected","version":"23.4-EVO","versionType":"semver"},{"lessThan":"24.2R2-EVO","status":"affected","version":"24.2-EVO","versionType":"semver"},{"lessThan":"24.4R2-EVO","status":"affected","version":"24.4-EVO","versionType":"semver"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"To be exposed to this issue a system needs to be configured with RIB sharding:<br><br><tt>[ system processes routing bgp \n\n<span style=\"background-color: rgb(255, 255, 255);\">rib-sharding </span>\n\n]</tt>"}],"value":"To be exposed to this issue a system needs to be configured with RIB sharding:\n\n[ system processes routing bgp \n\nrib-sharding \n\n]"}],"datePublic":"2025-07-09T16:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<br><br>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.<br><br>The leak can be monitored with the CLI command:<br><br><tt></tt>\n\n<tt><span style=\"background-color: rgb(255, 255, 255);\">show task memory detail | match task_shard_mgmt_cookie<br></span></tt>\n\n<br>where the allocated memory in bytes can be seen to continuously increase with each exploitation.<br><p><br></p><p>This issue affects:</p><p>Junos OS:</p><ul><li>all versions before 21.2R3-S9,</li><li>21.4 versions before 21.4R3-S11,</li><li>22.2 versions before 22.2R3-S7,</li><li>22.4 versions before 22.4R3-S7,</li><li>23.2 versions before 23.2R2-S4,&nbsp;</li><li>23.4 versions before 23.4R2-S4,</li><li>24.2 versions before 24.2R2,</li><li>24.4 versions before 24.4R1-S2, 24.4R2;</li></ul><p>Junos OS Evolved:</p><ul><li>all versions before 22.2R3-S7-EVO</li><li>22.4-EVO versions before 22.4R3-S7-EVO,</li><li>23.2-EVO versions before 23.2R2-S4-EVO,</li><li>23.4-EVO versions before 23.4R2-S4-EVO,</li><li>24.2-EVO versions before 24.2R2-EVO,&nbsp;</li><li>24.4-EVO versions before 24.4R2-EVO.</li></ul>"}],"value":"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.\n\nWhen 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.\n\nThe leak can be monitored with the CLI command:\n\n\n\nshow task memory detail | match task_shard_mgmt_cookie\n\n\n\nwhere the allocated memory in bytes can be seen to continuously increase with each exploitation.\n\n\n\nThis issue affects:\n\nJunos OS:\n\n  *  all versions before 21.2R3-S9,\n  *  21.4 versions before 21.4R3-S11,\n  *  22.2 versions before 22.2R3-S7,\n  *  22.4 versions before 22.4R3-S7,\n  *  23.2 versions before 23.2R2-S4, \n  *  23.4 versions before 23.4R2-S4,\n  *  24.2 versions before 24.2R2,\n  *  24.4 versions before 24.4R1-S2, 24.4R2;\n\n\nJunos OS Evolved:\n\n  *  all versions before 22.2R3-S7-EVO\n  *  22.4-EVO versions before 22.4R3-S7-EVO,\n  *  23.2-EVO versions before 23.2R2-S4-EVO,\n  *  23.4-EVO versions before 23.4R2-S4-EVO,\n  *  24.2-EVO versions before 24.2R2-EVO, \n  *  24.4-EVO versions before 24.4R2-EVO."}],"exploits":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV4_0":{"Automatable":"YES","Recovery":"AUTOMATIC","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.8,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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/AU:Y/R:A/RE:M","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"MODERATE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-401","description":"CWE-401 Missing Release of Memory after Effective Lifetime","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","shortName":"juniper","dateUpdated":"2025-07-11T15:10:20.934Z"},"references":[{"tags":["vendor-advisory"],"url":"https://supportportal.juniper.net/JSA100092"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue:<br>Junos OS Evolved: 22.2R3-S7-EVO, 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S4-EVO, 24.2R2-EVO, 24.4R2-EVO, 25.2R1-EVO,&nbsp;and all subsequent releases;<br>Junos OS: 21.2R3-S9, 21.4R3-S11, 22.2R3-S7, 22.4R3-S7, 23.2R2-S4, 23.4R2-S4, 24.2R2, 24.4R1-S2, 24.4R2, 25.2R1, and all subsequent releases."}],"value":"The following software releases have been updated to resolve this specific issue:\nJunos OS Evolved: 22.2R3-S7-EVO, 22.4R3-S7-EVO, 23.2R2-S4-EVO, 23.4R2-S4-EVO, 24.2R2-EVO, 24.4R2-EVO, 25.2R1-EVO, and all subsequent releases;\nJunos OS: 21.2R3-S9, 21.4R3-S11, 22.2R3-S7, 22.4R3-S7, 23.2R2-S4, 23.4R2-S4, 24.2R2, 24.4R1-S2, 24.4R2, 25.2R1, and all subsequent releases."}],"source":{"advisory":"JSA100092","defect":["1856054"],"discovery":"INTERNAL"},"title":"Junos OS and Junos OS Evolved: When RIB sharding is configured each time a show command is executed RPD memory leaks","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators.<br>"}],"value":"Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-11T16:04:38.323609Z","id":"CVE-2025-52986","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-07-15T19:55:10.352Z"}}]}}