# CVE-2025-21598: Junos OS and Junos OS Evolved: When BGP traceoptions are configured, receipt of malformed BGP packets causes RPD to crash

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-01-09 · Modified: 2025-01-09
- Record: https://cvemate.com/vulnerability/CVE-2025-21598 · JSON: https://cvemate.com/vulnerability/CVE-2025-21598/json

## Description

```text
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
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.717%, percentile 55.197%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- juniper networks junos os: ≥ 21.2R3-S8, \< 21.2R3-S9 \| ≥ 21.4R3-S7, \< 21.4R3-S9 \| ≥ 22.2R3-S4, \< 22.2R3-S5 \| ≥ 22.3R3-S2, \< 22.3R3-S4 \| ≥ 22.4R3, \< 22.4R3-S5 \| ≥ 23.2R2, \< 23.2R2-S2 \| ≥ 23.4R1, \< 23.4R2-S1 \| ≥ 24.2R1, \< 24.2R1-S1, 24.2R2
- juniper networks junos os evolved: ≥ 21.4R3-S7-EVO, \< 21.4R3-S9-EVO \| ≥ 22.2R3-S4-EVO, \< 22.2R3-S5-EVO \| ≥ 22.3R3-S2-EVO, \< 22.3R3-S4-EVO \| ≥ 22.4R3-EVO, \< 22.4R3-S5-EVO \| ≥ 23.2R2-EVO, \< 23.2R2-S2-EVO \| ≥ 23.4R1-EVO, \< 23.4R2-S1-EVO \| ≥ 24.2R1-EVO, \< 24.2R1-S2-EVO, 24.2R2-EVO
- juniper junos: 21.2:r3-s8 \| 21.4:r3-s7 \| 21.4:r3-s8 \| 22.2:r3-s4 \| 22.3:r3-s2 \| 22.3:r3-s3 \| 22.4:r3 \| 22.4:r3-s1 \| 22.4:r3-s2 \| 22.4:r3-s3 \| 22.4:r3-s4 \| 23.2:r2 \| 23.2:r2-s1 \| 23.4:r1 \| 23.4:r1-s1 \| 23.4:r1-s2 \| 23.4:r2 \| 24.2:r1 \| 24.2:r2
- juniper junos\_os\_evolved: 21.4:r3-s7 \| 21.4:r3-s8 \| 22.2:r3-s4 \| 22.3:r3-s2 \| 22.3:r3-s3 \| 22.4:r3 \| 22.4:r3-s1 \| 22.4:r3-s2 \| 22.4:r3-s3 \| 22.4:r3-s4 \| 23.2:r2 \| 23.2:r2-s1 \| 23.4:r1 \| 23.4:r1-s1 \| 23.4:r1-s2 \| 23.4:r2 \| 24.2:r1 \| 24.2:r2

## References

- <https://supportportal.juniper.net/JSA92867>
- <https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/statement/traceoptions-edit-protocols-bgp.html>

---

Data as of 2026-12-05T12:31:02.304Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
