cve.bz

CVE-2025-21598 juniper: Out-of-bounds Read

8.2 highEPSS 0.7%

High (8.2) in juniper. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 4.0

8.2 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-01-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-21598 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21598?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21598?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21598 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Juniper Networks Junos OSfrom 21.2R3-S8 before 21.2R3-S9
Juniper Networks Junos OSfrom 21.4R3-S7 before 21.4R3-S9
Juniper Networks Junos OSfrom 22.2R3-S4 before 22.2R3-S5
Juniper Networks Junos OSfrom 22.3R3-S2 before 22.3R3-S4
Juniper Networks Junos OSfrom 22.4R3 before 22.4R3-S5
Juniper Networks Junos OSfrom 23.2R2 before 23.2R2-S2
Juniper Networks Junos OSfrom 23.4R1 before 23.4R2-S1
Juniper Networks Junos OSfrom 24.2R1 before 24.2R1-S1, 24.2R2
Juniper Networks Junos OS Evolvedfrom 21.4R3-S7-EVO before 21.4R3-S9-EVO
Juniper Networks Junos OS Evolvedfrom 22.2R3-S4-EVO before 22.2R3-S5-EVO
Juniper Networks Junos OS Evolvedfrom 22.3R3-S2-EVO before 22.3R3-S4-EVO
Juniper Networks Junos OS Evolvedfrom 22.4R3-EVO before 22.4R3-S5-EVO
Juniper Networks Junos OS Evolvedfrom 23.2R2-EVO before 23.2R2-S2-EVO
Juniper Networks Junos OS Evolvedfrom 23.4R1-EVO before 23.4R2-S1-EVO
Juniper Networks Junos OS Evolvedfrom 24.2R1-EVO before 24.2R1-S2-EVO, 24.2R2-EVO

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON