CVE-2025-59958 Junos OS Evolved: PTX Series: When a firewall filter rejects traffic these packets are erroneously sent to the RE

Medium 6.9 Published Updated

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.

All Juniper Junos Os Evolved vulnerabilities

Sources

Also known as GHSA-v4g8-gwfh-3cj3.

Is CVE-2025-59958 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free