# CVE-2025-30657: Junos OS: Processing of a specific BGP update causes the SRRD process to crash

- Vendor: Juniper Networks, Junos OS
- Severity: MEDIUM (CVSS 4.0 6.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA96467, https://supportportal.juniper.net/JSA96467
- Published: 2025-04-09; updated: 2025-04-09
- Page: https://patchtonight.com/cve/CVE-2025-30657/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 0 | 21.2R3-S9 or later |
| Junos OS 21.4 | 21.4R3-S10 or later |
| Junos OS 22.2 | 22.2R3-S6 or later |
| Junos OS 22.4 | 22.4R3 or later |
| Junos OS 23.2 | 23.2R1-S2, 23.2R2 or later |

## The vendor's description

An Improper Encoding or Escaping of Output vulnerability in the Sampling Route Record Daemon (SRRD) of Juniper Networks Junos OS allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS).

When a device configured for flow-monitoring receives a specific BGP update message, it is correctly processed internally by the routing protocol daemon (rpd), but when it's sent to SRRD it's encoded incorrectly which leads to a crash and momentary interruption of jflow processing until it automatically restarts. This issue does not affect traffic forwarding itself.
This issue affects Junos OS: 



  *  All versions before 21.2R3-S9,
  *  21.4 versions before 21.4R3-S10,
  *  22.2 versions before 22.2R3-S6,
  *  22.4 versions before 22.4R3,
  *  23.2 versions before 23.2R1-S2, 23.2R2.



This issue does not affected Junos OS Evolved.

## Workarounds

There are no known workarounds for this issue.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA96467)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
