CVE-2025-52985

Junos OS Evolved: When a control-plane firewall filter refers to a prefix-list with more than 10 entries it's not matching

State
Published
Severity
6.9 Medium
Published
Jul 11, 2025
Updated
Jul 18, 2025
Reserved
Jun 23, 2025

Read the record on cve.org

Description

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 the lo0 interface as output. This issue is applicable to IPv4 and IPv6 as a prefix list can contain IPv4 and IPv6 prefixes. This issue affects Junos OS Evolved:

* 23.2R2-S3-EVO versions before 23.2R2-S4-EVO, * 23.4R2-S3-EVO versions before 23.4R2-S5-EVO, * 24.2R2-EVO versions before 24.2R2-S1-EVO, * 24.4-EVO versions before 24.4R1-S3-EVO, 24.4R2-EVO.

This issue doesn't affect Junos OS Evolved versions before 23.2R1-EVO.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:Njuniper
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Njuniper

Weaknesses

Affected Products

ProductVersions
Junos OS EvolvedJuniper Networks
  • 23.2R2-S3-EVO to before 23.2R2-S4-EVOAffected
  • 23.4R2-S3-EVO to before 23.4R2-S5-EVOAffected
  • 24.2R2-EVO to before 24.2R2-S1-EVOAffected
  • 24.4-EVO to before 24.4R1-S3-EVO, 24.4R2-EVOAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.