Home / Juniper Networks / Junos OS / CVE-2025-21598
CVE-2025-21598: is it exploited, and which versions of Juniper Networks Junos OS are affected and fixed?
CVE-2025-21598 is an out-of-bounds read vulnerability in Juniper Networks Junos OS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Junos OS from 21.2R3-S8 before 21.2R3-S9, Junos OS from 21.4R3-S7 before 21.4R3-S9, Junos OS from 22.2R3-S4 before 22.2R3-S5 and 12 more (CVE record by juniper). Fixed in 21.2R3-S9, 21.4R3-S9, 22.2R3-S5, 22.3R3-S4 and 2 more (CVE record by juniper). Severity: High (8.2, CVSS 3.1, from juniper).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-21598?
Junos OS and Junos OS Evolved: When BGP traceoptions are configured, receipt of malformed BGP packets causes RPD to crash
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
From the CVE record by juniper, last updated January 9, 2025, 20:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Juniper Networks | Junos OS RPD | 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 | 21.2R3-S9, 21.4R3-S9, 22.2R3-S5, 22.3R3-S4, 22.4R3-S5, 23.2R2-S2, 23.4R2-S1, 24.2R1-S1, 24.2R2 |
| Juniper Networks | 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 | 21.4R3-S9-EVO, 22.2R3-S5-EVO, 22.3R3-S4-EVO, 22.4R3-S5-EVO, 23.2R2-S2-EVO, 23.4R2-S1-EVO, 24.2R1-S2-EVO, 24.2R2-EVO |
As the CVE record by juniper states it, last updated January 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| juniper | junos | 21.2 | operating system |
| juniper | junos | 21.4 | operating system |
| juniper | junos | 22.2 | operating system |
| juniper | junos | 22.3 | operating system |
| juniper | junos | 22.4 | operating system |
| juniper | junos | 23.2 | operating system |
| juniper | junos | 23.4 | operating system |
| juniper | junos | 24.2 | operating system |
| juniper | junos os evolved | 21.4 | operating system |
| juniper | junos os evolved | 22.2 | operating system |
| juniper | junos os evolved | 22.3 | operating system |
| juniper | junos os evolved | 22.4 | operating system |
| juniper | junos os evolved | 23.2 | operating system |
| juniper | junos os evolved | 23.4 | operating system |
| juniper | junos os evolved | 24.2 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:43 UTC.
How severe is CVE-2025-21598?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | juniper |
| High 8.2 | CVSS 4.0 | 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/AU:Y/R:A/V:C/RE:M/U:Amber | juniper |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-21598 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 9, 2025)
- EPSS
- 0.72% probability of exploitation activity in the next 30 days, percentile 55.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
How do I fix it? (from the CVE record)
The following software releases have been updated to resolve this specific issue: Junos OS: 21.2R3-S9, 21.4R3-S9, 22.2R3-S5, 22.3R3-S4, 22.4R3-S5, 23.2R2-S2, 23.4R2-S1, 24.2R1-S1, 24.2R2, 24.4R1, and all subsequent releases. Junos OS Evolved: 21.4R3-S9-EVO, 22.2R3-S5-EVO, 22.3R3-S4-EVO, 22.4R3-S5-EVO, 23.2R2-S2-EVO, 23.4R2-S1-EVO, 24.2R1-S2-EVO, 24.2R2-EVO, 24.4R1-EVO, and all subsequent releases.
Is there a workaround? (from the CVE record)
Disabling packet tracing options will work around this issue. There are no other available workarounds for this issue.
Where are the vendor advisories and references?
- https://supportportal.juniper.net/JSA92867 vendor-advisory
- https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/traceoptions-edit-protocols-bgp.html related
When was it published, and where is the official record?
- Reserved
- December 26, 2024
- Published
- January 9, 2025, 18:16 UTC
- CVE record updated
- January 9, 2025, 20:15 UTC by juniper
- NVD
- Analyzed, last modified June 17, 2026, 08:43 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Junos OS?
- Mar 12, 2025CVE-2025-21590 Juniper Networks Junos OS: improper Isolation or Compartmentalization exploited
- Sep 26, 2023CVE-2023-36851 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36846 Juniper Networks Junos OS: missing authentication for a critical function exploited
- Aug 17, 2023CVE-2023-36845 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36844 Juniper Networks Junos OS: PHP External Variable Modification exploited
- Aug 17, 2023CVE-2023-36847 Juniper Networks Junos OS: missing authentication for a critical function exploited
- May 4, 2020CVE-2020-1631 Juniper Networks Junos OS: path traversal (reading or writing files outside the intended folder) exploited
- Oct 14, 2026CVE-2026-101954 Juniper Networks Junos OS: authentication bypass (improper authentication)
Questions about CVE-2025-21598
Is CVE-2025-21598 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.72% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Juniper Networks Junos OS are affected by CVE-2025-21598?
Junos OS from 21.2R3-S8 before 21.2R3-S9, Junos OS from 21.4R3-S7 before 21.4R3-S9, Junos OS from 22.2R3-S4 before 22.2R3-S5, Junos OS from 22.3R3-S2 before 22.3R3-S4, Junos OS from 22.4R3 before 22.4R3-S5, Junos OS from 23.2R2 before 23.2R2-S2 and 9 more, per the CVE record by juniper. The tables above give every range the sources list.
Which version fixes CVE-2025-21598?
21.2R3-S9, 21.4R3-S9, 22.2R3-S5, 22.3R3-S4, 22.4R3-S5 and 23.2R2-S2, per the CVE record by juniper. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21598?
High (8.2, CVSS 3.1, from juniper). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21598?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.