CVE-2025-21598
Last modified
CVE-2025-21598 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. An Out-of-bounds Read vulnerability in Juniper Networks Junos OS and Junos OS Evolved's routing protocol daemon (rpd) allows an unauthenticated, network-based attacker to send malformed BGP packets to a device configured with packet receive trace options enabled to crash rpd. This issue affects: Junos OS: * from 21.2R3-S8 before 21.2R3-S9, * from 21.4R3-S7 before 21.4R3-S9, * from 22.2R3-S4 before 22.2R3-S5, * from 22.3R3-S2 before 22.3R3-S4, * from 22.4R3 before 22.4R3-S5, * from 23.2R2 before 23.2R2-S2, * from 23.4R1 before 23.4R2-S1, * from 24.2R1 before 24.2R1-S1, 24.2R2. Junos OS Evolved: * from 21.4R3-S7-EVO before 21.4R3-S9-EVO, * from 22.2R3-S4-EVO before 22.2R3-S5-EVO, * from 22.3R3-S2-EVO before 22.3R3-S4-EVO, * from 22.4R3-EVO before 22.4R3-S5-EVO, * from 23.2R2-EVO before 23.2R2-S2-EVO, * from 23.4R1-EVO before 23.4R2-S1-EVO, * from 24.2R1-EVO before 24.2R1-S2-EVO, 24.2R2-EVO. This issue requires a BGP session to be established. This issue can propagate and multiply through multiple ASes until reaching vulnerable devices. This issue affects iBGP and eBGP. This issue affects IPv4 and IPv6. An indicator of compromise may be the presence of malformed update messages in a neighboring AS which is unaffected by this issue: For example, by issuing the command on the neighboring device: show log messages Reviewing for similar messages from devices within proximity to each other may indicate this malformed packet is propagating: rpd[<pid>]: Received malformed update from <IP address> (External AS <AS#>) and rpd[<pid>]: Malformed Attribute. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
Description
An Out-of-bounds Read vulnerability in Juniper Networks Junos OS and Junos OS Evolved's routing protocol daemon (rpd) allows an unauthenticated, network-based attacker to send malformed BGP packets to a device configured with packet receive trace options enabled to crash rpd. This issue affects: Junos OS: * from 21.2R3-S8 before 21.2R3-S9, * from 21.4R3-S7 before 21.4R3-S9, * from 22.2R3-S4 before 22.2R3-S5, * from 22.3R3-S2 before 22.3R3-S4, * from 22.4R3 before 22.4R3-S5, * from 23.2R2 before 23.2R2-S2, * from 23.4R1 before 23.4R2-S1, * from 24.2R1 before 24.2R1-S1, 24.2R2. Junos OS Evolved: * from 21.4R3-S7-EVO before 21.4R3-S9-EVO, * from 22.2R3-S4-EVO before 22.2R3-S5-EVO, * from 22.3R3-S2-EVO before 22.3R3-S4-EVO, * from 22.4R3-EVO before 22.4R3-S5-EVO, * from 23.2R2-EVO before 23.2R2-S2-EVO, * from 23.4R1-EVO before 23.4R2-S1-EVO, * from 24.2R1-EVO before 24.2R1-S2-EVO, 24.2R2-EVO. This issue requires a BGP session to be established. This issue can propagate and multiply through multiple ASes until reaching vulnerable devices. This issue affects iBGP and eBGP. This issue affects IPv4 and IPv6. An indicator of compromise may be the presence of malformed update messages in a neighboring AS which is unaffected by this issue: For example, by issuing the command on the neighboring device: show log messages Reviewing for similar messages from devices within proximity to each other may indicate this malformed packet is propagating: rpd[<pid>]: Received malformed update from <IP address> (External AS <AS#>) and rpd[<pid>]: Malformed Attribute
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/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:C/RE:M/U:Amber
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Juniper | Junos | 21.2 | R3-S8 |
| Juniper | Junos | 21.4 | R3-S7 |
| Juniper | Junos | 22.2 | R3-S4 |
| Juniper | Junos | 22.3 | R3-S2 |
| Juniper | Junos | 22.4 | R3 |
| Juniper | Junos | 23.2 | R2 |
| Juniper | Junos | 23.4 | R1 |
| Juniper | Junos | 24.2 | R1 |
| Juniper | Junos Os Evolved | 21.4 | R3-S7 |
| Juniper | Junos Os Evolved | 22.2 | R3-S4 |
| Juniper | Junos Os Evolved | 22.3 | R3-S2 |
| Juniper | Junos Os Evolved | 22.4 | R3 |
| Juniper | Junos Os Evolved | 23.2 | R2 |
| Juniper | Junos Os Evolved | 23.4 | R1 |
| Juniper | Junos Os Evolved | 24.2 | R1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-21598?
How severe is CVE-2025-21598?
How do I fix CVE-2025-21598?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21592An Exposure of Sensitive Information to an Unauthorized Acto…6.8
- CVE-2025-21593An Improper Control of a Resource Through its Lifetime vulne…7.1
- CVE-2025-21594An Improper Check for Unusual or Exceptional Conditions vuln…8.7
- CVE-2025-21595A Missing Release of Memory after Effective Lifetime vulnera…7.1
- CVE-2025-21596An Improper Handling of Exceptional Conditions vulnerability…6.8
- CVE-2025-21597An Improper Check for Unusual or Exceptional Conditions vuln…6
- CVE-2025-21599A Missing Release of Memory after Effective Lifetime vulnera…8.7
- CVE-2025-2160Pega Platform versions 8.4.3 to Infinity 24.2.1 are affected…6.1
- CVE-2025-21600An Out-of-Bounds Read vulnerability in the routing protocol…7.1
- CVE-2025-21601An Improper Following of Specification by Caller vulnerabili…8.7
- CVE-2025-21602An Improper Handling of Exceptional Conditions vulnerability…7.1
- CVE-2025-21603Cross-site scripting vulnerability exists in MZK-DP300N firm…4.8
Are you affected by CVE-2025-21598?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
