{"id":"CVE-2025-52986","published":"2025-07-11T15:10:20Z","modified":"2025-07-15T19:55:10Z","title":"Junos OS and Junos OS Evolved: When RIB sharding is configured each time a show command is executed RPD memory leaks","vendor":"Juniper Networks","product":"Junos OS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0021,"percentile":0.06434,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://supportportal.juniper.net/JSA100092","tags":["vendor-advisory"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":1.29},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"juniper","affectedVersions":[{"vendor":"Juniper Networks","product":"Junos OS","versions":["< 21.2R3-S9",">= 21.4, < 21.4R3-S11",">= 22.2, < 22.2R3-S7",">= 22.4, < 22.4R3-S7",">= 23.2, < 23.2R2-S4",">= 23.4, < 23.4R2-S4",">= 24.2, < 24.2R2",">= 24.4, < 24.4R1-S2, 24.4R2"]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","versions":["< 22.2R3-S7-EVO",">= 22.4-EVO, < 22.4R3-S7-EVO",">= 23.2-EVO, < 23.2R2-S4-EVO",">= 23.4-EVO, < 23.4R2-S4-EVO",">= 24.2-EVO, < 24.2R2-EVO",">= 24.4-EVO, < 24.4R2-EVO"]}],"solutions":{"items":["The following software releases have been updated to resolve this specific issue: 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, and all subsequent releases; 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."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-11T16:04:38.323609Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21144","exploited":false,"provenance":"source"}}