CVE-2025-59958
Junos OS Evolved: PTX Series: When a firewall filter rejects traffic these packets are erroneously sent to the RE
Mitigation
- Upgrade Junos OS Evolved to 23.2R2-EVO or later.
- Vendor workaround: To avoid this issue remove the affected reject action from the respective term(s) and replace it with discard, or add log or syslog actions.
Who should check
- Anyone running Juniper Networks Junos OS Evolved < 22.4R3-EVO; >= 23.2, < 23.2R2-EVO
Vulnerability facts
- Affected
- Juniper Networks Junos OS Evolved < 22.4R3-EVO; >= 23.2, < 23.2R2-EVO
- Fixed in
- Juniper Networks Junos OS Evolved 22.4R3-EVO, Juniper Networks Junos OS Evolved 23.2R2-EVO
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/RE:MOpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- RE: M
- EPSS
- 0.50% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-754
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Juniper Networks Junos OS Evolved | < 22.4R3-EVO; >= 23.2, < 23.2R2-EVO | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-59958. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-59958.md Affected: Juniper Networks Junos OS Evolved < 22.4R3-EVO; >= 23.2, < 23.2R2-EVO Fixed in: Juniper Networks Junos OS Evolved 22.4R3-EVO, Juniper Networks Junos OS Evolved 23.2R2-EVO Steps: 1. Search this machine and project for Juniper Networks Junos OS Evolved: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-59958 being exploited?
There is no confirmed exploitation: CVE-2025-59958 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-59958?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-59958?
Juniper Networks Junos OS Evolved < 22.4R3-EVO; >= 23.2, < 23.2R2-EVO.
Is there a fix for CVE-2025-59958?
Yes. Fixed in Juniper Networks Junos OS Evolved 22.4R3-EVO, Juniper Networks Junos OS Evolved 23.2R2-EVO. Upgrade Junos OS Evolved to 23.2R2-EVO or later. Vendor workaround: To avoid this issue remove the affected reject action from the respective term(s) and replace it with discard, or add log or syslog actions.
How do I check if I'm affected by CVE-2025-59958?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.