Vulnerability · CVE-2025-52985
A Use of Incorrect Operator vulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security r
Published Jul 11, 2025 · catalog updated Jul 18, 2025 · Juniper Networks Junos OS Evolved
Check this week
CVE-2025-52985 is not in CISA KEV. FIRST estimates a 30.00% chance of exploitation in the next 30 days. Check whether you run Juniper Networks Junos OS Evolved.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium6.9
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 30.00%
- Remediation
- Version ranges on file
- Affected products
- vendor Juniper Networks Junos OS Evolved 23.4R2-S3-EVO <23.4R2-S5-EVO
A Use of Incorrect Operator vulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions. When a firewall filter which is applied to the lo0 or re:mgmt interface references a prefix list with 'from prefix-list', and that prefix list contains more than 10 entries, the prefix list doesn't match and packets destined to or from the local device are not filtered. This issue affects firewall filters applied to the re:mgmt interfaces as input and output, but only affects firewall filters applied to
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor Juniper Networks Junos OS Evolved 23.4R2-S3-EVO <23.4R2-S5-EVO23.4R2-S3-EVO <23.4R2-S5-EVO
How to fix CVE-2025-52985
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-52985 is not in CISA KEV. FIRST estimates a 30.00% chance of exploitation in the next 30 days. Check whether you run Juniper Networks Junos OS Evolved.
Which versions are affected?
Compare what you have installed with Juniper Networks Junos OS Evolved 23.4R2-S3-EVO <23.4R2-S5-EVO 23.4R2-S3-EVO <23.4R2-S5-EVO. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 30.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jul 11, 2025 · EUVD
Detected
A Use of Incorrect Operator vulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions. When a firewall filter which is applied to the lo0 or re:mgmt interface references a prefix list with 'from prefix-list', and that prefix list contains more than 10 entries, the prefix list doesn't match and
Jul 18, 2025 · EUVD
Updated
A Use of Incorrect Operator vulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions. When a firewall filter which is applied to the lo0 or re:mgmt interface references a prefix list with 'from prefix-list', and that prefix list contains more than 10 entries, the prefix list doesn't match and
Sources
- CVE.orgVulnerability recordCVE-2025-52985
Official CVE identifier
cve.org - EUVDVulnerability recordEUVD-2025-21145
A Use of Incorrect Operator vulnerability in the Routing Engine firewall of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to bypass security restrictions. When a firewall filter which is applied to the lo0 or re:mgmt interface references a pr
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Jul 18, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.