{"id":"CVE-2025-52946","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: With traceoptions enabled, receipt of malformed AS PATH causes RPD crash","description":"A Use After Free vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Juniper Networks Junos OS Evolved allows an attacker sending a BGP update with a specifically malformed AS PATH to cause rpd to crash, resulting in a Denial of Service (DoS). Continuous receipt of the malformed AS PATH attribute will cause a sustained DoS condition.\n\nOn all Junos OS and Junos OS Evolved platforms, the rpd process will crash and restart when a specifically malformed AS PATH is received within a BGP update and traceoptions are enabled.\n\nThis issue only affects systems with BGP traceoptions enabled and requires a BGP session to be already established.  Systems without BGP traceoptions enabled are not impacted by this issue.\n\n\n\nThis issue affects:\n\n Junos OS:\n\n\n\n  *  All versions before 21.2R3-S9, \n  *  all versions of 21.4,\n  *  from 22.2 before 22.2R3-S6, \n  *  from 22.4 before 22.4R3-S5, \n  *  from 23.2 before 23.2R2-S3, \n  *  from 23.4 before 23.4R2-S4, \n  *  from 24.2 before 24.2R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 22.4R3-S5-EVO, \n  *  from 23.2-EVO before 23.2R2-S3-EVO, \n  *  from 23.4-EVO before 23.4R2-S4-EVO, \n  *  from 24.2-EVO before 24.2R2-EVO.\n\n\n\n\n\n\n\nThis is a more complete fix for previously published CVE-2024-39549 (JSA83011).","publishedAt":"2025-07-11T14:39:59.014Z","updatedAt":"2025-07-11T15:25:30.605Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/V:C/RE:M","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS","Juniper Networks Junos OS Evolved"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S9","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"*","versionType":"sem"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S6","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3-S5","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S3","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2-S4","versionType":"semver"},{"version":"24.2","status":"affected","lessThan":"24.2R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S5-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R2-S3-EVO","versionType":"semver"},{"version":"23.4-EVO","status":"affected","lessThan":"23.4R2-S4-EVO","versionType":"semver"},{"version":"24.2-EVO","status":"affected","lessThan":"24.2R2-EVO","versionType":"semver"}]}],"references":["https://supportportal.juniper.net/JSA100050"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/52xxx/CVE-2025-52946.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-52946","state":"PUBLISHED","datePublished":"2025-07-11T14:39:59.014Z","dateUpdated":"2025-07-11T15:25:30.605Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2025-06-23T13:16:01.408Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: With traceoptions enabled, receipt of malformed AS PATH causes RPD crash","descriptions":[{"lang":"en","value":"A Use After Free vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Juniper Networks Junos OS Evolved allows an attacker sending a BGP update with a specifically malformed AS PATH to cause rpd to crash, resulting in a Denial of Service (DoS). Continuous receipt of the malformed AS PATH attribute will cause a sustained DoS condition.\n\nOn all Junos OS and Junos OS Evolved platforms, the rpd process will crash and restart when a specifically malformed AS PATH is received within a BGP update and traceoptions are enabled.\n\nThis issue only affects systems with BGP traceoptions enabled and requires a BGP session to be already established.  Systems without BGP traceoptions enabled are not impacted by this issue.\n\n\n\nThis issue affects:\n\n Junos OS:\n\n\n\n  *  All versions before 21.2R3-S9, \n  *  all versions of 21.4,\n  *  from 22.2 before 22.2R3-S6, \n  *  from 22.4 before 22.4R3-S5, \n  *  from 23.2 before 23.2R2-S3, \n  *  from 23.4 before 23.4R2-S4, \n  *  from 24.2 before 24.2R2; \n\n\n\n\nJunos OS Evolved: \n\n\n\n  *  All versions before 22.4R3-S5-EVO, \n  *  from 23.2-EVO before 23.2R2-S3-EVO, \n  *  from 23.4-EVO before 23.4R2-S4-EVO, \n  *  from 24.2-EVO before 24.2R2-EVO.\n\n\n\n\n\n\n\nThis is a more complete fix for previously published CVE-2024-39549 (JSA83011)."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"21.2R3-S9","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"*","versionType":"sem"},{"version":"22.2","status":"affected","lessThan":"22.2R3-S6","versionType":"semver"},{"version":"22.4","status":"affected","lessThan":"22.4R3-S5","versionType":"semver"},{"version":"23.2","status":"affected","lessThan":"23.2R2-S3","versionType":"semver"},{"version":"23.4","status":"affected","lessThan":"23.4R2-S4","versionType":"semver"},{"version":"24.2","status":"affected","lessThan":"24.2R2","versionType":"semver"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"22.4R3-S5-EVO","versionType":"semver"},{"version":"23.2-EVO","status":"affected","lessThan":"23.2R2-S3-EVO","versionType":"semver"},{"version":"23.4-EVO","status":"affected","lessThan":"23.4R2-S4-EVO","versionType":"semver"},{"version":"24.2-EVO","status":"affected","lessThan":"24.2R2-EVO","versionType":"semver"}]}],"references":[{"url":"https://supportportal.juniper.net/JSA100050","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/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":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"CONCENTRATED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:A/V:C/RE:M","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"MODERATE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateUpdated":"2025-07-11T14:39:59.014Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue:<br><br><tt>[protocols bgp traceoptions]<br>[protocols bgp group &lt;group-name&gt; traceoptions]<br>[protocols bgp group &lt;group-name&gt; neighbor &lt;address&gt; traceoptions]</tt>\n\n<br>"}],"value":"One of the following traceoptions configurations, either at the top level, under [logical-systems], or [routing-instances], is required to be potentially exposed to this issue:\n\n[protocols bgp traceoptions]\n[protocols bgp group <group-name> traceoptions]\n[protocols bgp group <group-name> neighbor <address> traceoptions]"}],"datePublic":"2025-07-09T16:00:00.000Z","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."}],"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 21.2R3-S9, 22.2R3-S6, 22.4R3-S5, 23.2R2-S3, 23.4R2-S4, 24.2R2, 24.4R1, and all subsequent releases.<br>Junos OS Evolved: 22.4R3-S5-EVO, 23.2R2-S3-EVO, 23.4R2-S4-EVO, 24.2R2-EVO, 24.4R1-EVO, and all subsequent releases.<br><br>"}],"value":"The following software releases have been updated to resolve this specific issue: \nJunos OS 21.2R3-S9, 22.2R3-S6, 22.4R3-S5, 23.2R2-S3, 23.4R2-S4, 24.2R2, 24.4R1, and all subsequent releases.\nJunos OS Evolved: 22.4R3-S5-EVO, 23.2R2-S3-EVO, 23.4R2-S4-EVO, 24.2R2-EVO, 24.4R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA100050","defect":["1810622"],"discovery":"USER"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Disable BGP traceoptions if they are not being used for active troubleshooting."}],"value":"Disable BGP traceoptions if they are not being used for active troubleshooting."}],"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-11T15:25:22.848492Z","id":"CVE-2025-52946","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-11T15:25:30.605Z"}}]}}}