CVE-2025-59958 Junos OS Evolved: PTX Series: When a firewall filter rejects traffic these packets are erroneously sent to the RE
An attacker can cause rejected packets to reach the Routing Engine, leading to resource exhaustion and potential information disclosure on Juniper PTX routers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-59958?
CVE-2025-59958 is a medium-severity vulnerability in Juniper Junos Os Evolved, published on 9 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An Improper Check for Unusual or Exceptional Conditions vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS Evolved on PTX Series allows an unauthenticated, network-based attacker to cause impact to confidentiality and availability.
When an output firewall filter is configured with one or more terms where the action is 'reject', packets matching these terms are erroneously sent to the Routing Engine (RE) and further processed there. Processing of these packets will consume limited RE resources. Also responses from the RE back to the source of this traffic could reveal confidential information about the affected device. This issue only applies to firewall filters applied to WAN or revenue interfaces, so not the mgmt or lo0 interface of the routing-engine, nor any input filters.
This issue affects Junos OS Evolved on PTX Series:
* all versions before 22.4R3-EVO, * 23.2 versions before 23.2R2-EVO.
Weakness: CWE-754
Which versions are affected by CVE-2025-59958?
It affects 1 product.
Products include Juniper Junos Os Evolved.
How do I fix CVE-2025-59958?
No fix has been published for CVE-2025-59958 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-59958 being exploited?
There is no known exploitation of CVE-2025-59958 in the wild and no public exploit code.
Other vulnerabilities in Juniper Junos Os Evolved
- CVE-2026-21902 Junos OS Evolved: PTX Series: A vulnerability allows a unauthenticated, network-based attacker to execute code as root
- CVE-2023-28983 Junos OS Evolved: Shell Injection vulnerability in the gNOI server
- CVE-2025-21599 Denial of service in Junos OS Evolved
- CVE-2024-47502 Junos OS Evolved: TCP session state is not always cleared on the Routing Engine leading to DoS
- CVE-2024-39531 Junos OS Evolved: ACX 7000 Series: Protocol specific DDoS configuration affects other protocols
Sources
Also known as GHSA-v4g8-gwfh-3cj3.