#VU102530 Out-of-bounds read in Juniper Junos OS and Junos OS Evolved - CVE-2025-21598


Vulnerability identifier: #VU102530

Vulnerability risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-21598

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Juniper Junos OS
Operating systems & Components / Operating system
Junos OS Evolved
Operating systems & Components / Operating system

Vendor: Juniper Networks, Inc.

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in routing protocol daemon (rpd). A remote attacker can send malformed BGP packets to the affected device, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Juniper Junos OS: 21.2R3-S8, 21.4R3-S7 - 21.4R3-S8, 22.2R3-S4, 22.3R3-S2 - 22.3R3-S3, 22.4R3-S1 - 22.4R3, 23.2R2, 23.4R1-S1 - 23.4R1, 23.4R2, 24.2R1

Junos OS Evolved: 21.4R3-S7-EVO - 21.4R3-S8-EVO, 22.2R3-S4-EVO, 22.3R3-S2-EVO - 22.3R3-S3-EVO, 22.4R3-EVO - 22.4R3-S4-EVO, 23.2R2-EVO - 23.2R2-S1-EVO, 23.4R1-EVO - 23.4R2-S1-EVO, 24.2R1-EVO - 24.2R1-S1-EVO


External links
https://supportportal.juniper.net/s/article/2025-01-Security-Bulletin-Junos-OS-and-Junos-OS-Evolved-When-BGP-traceoptions-are-configured-receipt-of-malformed-BGP-packets-causes-RPD-to-crash-CVE-2025-21598


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability