Firewall bypass via oversized prefix-list mismatch
Published Jul 11, 2025 · Updated Jul 18, 2025
Incorrect filtering in Juniper Networks Junos OS Evolved allows remote attackers to bypass Routing Engine firewall restrictions. A firewall filter on lo0 output or re:mgmt input or output fails to match from prefix-list when the referenced IPv4 or IPv6 prefix list has more than 10 entries. The affected nondefault filter configuration leaves packets to or from the local device unfiltered, permitting traffic that the policy was intended to block.
Summary
What happened
Incorrect filtering in Juniper Networks Junos OS Evolved allows remote attackers to bypass Routing Engine firewall restrictions. A firewall filter on lo0 output or re:mgmt input or output fails to match from prefix-list when the referenced IPv4 or IPv6 prefix list has more than 10 entries. The affected nondefault filter configuration leaves packets to or from the local device unfiltered, permitting traffic that the policy was intended to block.
The record
- CVE
- CVE-2025-52985
- Published
- Jul 11, 2025
- Updated
- Jul 18, 2025
- Vendor
- Juniper Networks
- Product
- Junos OS Evolved
- Classifications
- CWE-480, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 11, 2025CVE publishedPublication date reported by the CVE source.
- Jul 18, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=23.2R2-S3-EVO <23.2R2-S4-EVO
- Affected versionversion=23.4R2-S3-EVO <23.4R2-S5-EVO
- Affected versionversion=24.2R2-EVO <24.2R2-S1-EVO
- Affected versionversion=24.4-EVO <24.4R1-S3-EVO, 24.4R2-EVO
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo