Description
A Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in the packet forwarding engine (PFE) of Juniper Networks Junos OS on SRX Series allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS).

As part of the stateful traffic processing on SRX Series devices flows are being established, and removed when not needed anymore. During the removal process the timeout of a flow should be set to 3 seconds and consequentially the flow should be removed shortly after. Due to a race condition occurring when setting the timeout there is a chance (the exact conditions are outside the attackers control) that the timeout is instead set to a very high value of larger than 10,000 seconds:



user@host> show security flow session | match timeout
Session ID: 98784248524, Policy name: PROD-FLOW/4, HA State: Active, Timeout: 85250, Session State: Valid

This will lead to an accumulation of flows which can be observed by an ever-increasing value of invalidated sessions in the output of 'show security flow session summary':

user@host> show security flow session summary | match invalid
Invalidated sessions: 216931These sessions can't be cleared manually with the 'clear security flow session' command, which will either lead to forwarding to stop (and the system needs to be manually recovered with a reboot) or to a flowd core and automatic reboot.


This issue affects Junos OS on SRX Series:


* 24.2 versions before 24.2R2-S3,
* 24.4 versions before 24.4R2-S1, 24.4R2-S2,
* 25.2 versions before 25.2R1-S2, 25.2R2.




This issue does not affect releases earlier than 24.2R1;
Published: 2026-07-09
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition in the packet forwarding engine of Juniper Junos OS on SRX Series devices allows an unauthenticated, network‑based attacker to set an excessively long timeout on flow sessions. When the timeout exceeds 10,000 seconds the flow cannot be cleared, causing an accumulation of inactive sessions. The backlog can grow to hundreds of thousands of sessions, stopping the device’s forwarding engine and eventually triggering a flowd core or requiring a reboot. The vulnerability originates from improper synchronization when setting the timeout, as identified by CWE‑362.

Affected Systems

Vendors: Juniper Networks. Product: Junos OS on SRX Series. Affected releases include 24.2 versions before 24.2R2‑S3, 24.4 versions before 24.4R2‑S1 and 24.4R2‑S2, and 25.2 versions before 25.2R1‑S2 and 25.2R2. The fix is contained in Junos OS 24.2R2‑S3, 24.4R2‑S1, 25.2R1‑S2, 25.2R2, 25.4R1, and all subsequent releases.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity of this flaw. The EPSS score of less than 1% shows that, at the time of analysis, the likelihood of exploitation is low but not negligible. The vulnerability is not listed in CISA’s KEV catalog. It can be triggered by any actor who can send traffic to the SRX device, as no authentication is required. The attack surface is limited to the network interface that accepts traffic; the attacker must be able to generate or flood flow sessions to trigger the race condition.

Generated by OpenCVE AI on July 29, 2026 at 11:50 UTC.

Remediation

Vendor Solution

The following software releases have been updated to resolve this specific issue: Junos OS: 24.2R2-S3, 24.4R2-S1, 25.2R1-S2, 25.2R2, 25.4R1, and all subsequent releases.


Vendor Workaround

There are no known workarounds for this issue.


OpenCVE Recommended Actions

  • Apply a Junos OS upgrade to at least 24.2R2‑S3, 24.4R2‑S1, 25.2R1‑S2, 25.2R2, 25.4R1, or any later release, which contains the fix that properly clears aged flows.
  • If a patch cannot be applied immediately, reduce the device’s exposure by implementing strict inbound rate limiting or applying access‑control policies to restrict the creation of new flow sessions, thereby limiting the accumulation of stray sessions.
  • Continuously monitor the number of invalidated sessions using system monitoring tools. If the count rises sharply, perform a controlled reboot or restart the flowd process to clear sessions, accepting the brief service interruption until the device is fully patched.

Generated by OpenCVE AI on July 29, 2026 at 11:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Juniper Networks
Juniper Networks junos Os
Vendors & Products Juniper Networks
Juniper Networks junos Os

Thu, 09 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description A Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in the packet forwarding engine (PFE) of Juniper Networks Junos OS on SRX Series allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS). As part of the stateful traffic processing on SRX Series devices flows are being established, and removed when not needed anymore. During the removal process the timeout of a flow should be set to 3 seconds and consequentially the flow should be removed shortly after. Due to a race condition occurring when setting the timeout there is a chance (the exact conditions are outside the attackers control) that the timeout is instead set to a very high value of larger than 10,000 seconds: user@host> show security flow session | match timeout Session ID: 98784248524, Policy name: PROD-FLOW/4, HA State: Active, Timeout: 85250, Session State: Valid This will lead to an accumulation of flows which can be observed by an ever-increasing value of invalidated sessions in the output of 'show security flow session summary': user@host> show security flow session summary | match invalid Invalidated sessions: 216931These sessions can't be cleared manually with the 'clear security flow session' command, which will either lead to forwarding to stop (and the system needs to be manually recovered with a reboot) or to a flowd core and automatic reboot. This issue affects Junos OS on SRX Series: * 24.2 versions before 24.2R2-S3, * 24.4 versions before 24.4R2-S1, 24.4R2-S2, * 25.2 versions before 25.2R1-S2, 25.2R2. This issue does not affect releases earlier than 24.2R1;
Title Junos OS: SRX Series: Flow sessions are not getting cleared leading to a DoS
Weaknesses CWE-362
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/AU:Y/R:U/RE:M'}


Subscriptions

Juniper Networks Junos Os
cve-icon MITRE

Status: PUBLISHED

Assigner: juniper

Published:

Updated: 2026-07-10T14:43:39.183Z

Reserved: 2026-06-23T16:27:00.249Z

Link: CVE-2026-57030

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:00:12Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')