CVE-2025-30658 Denial of service in Junos OS

High 8.7 Published Updated

An unauthenticated attacker can cause a memory leak in Juniper SRX devices with Anti-Virus enabled, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-30658?

CVE-2025-30658 is a high-severity denial of service vulnerability in Juniper Junos, published on 9 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Missing Release of Memory after Effective Lifetime vulnerability in the Anti-Virus processing of Juniper Networks Junos OS on SRX Series

allows an unauthenticated, network-based attacker to cause a Denial-of-Service (DoS).

On all SRX platforms with Anti-Virus enabled, if a server sends specific content in the HTTP body of a response to a client request, these packets are queued by Anti-Virus processing in Juniper Buffers (jbufs) which are never released. When these jbufs are exhausted, the device stops forwarding all transit traffic.

A jbuf memory leak can be noticed from the following logs:

(<node>.)<fpc> Warning: jbuf pool id <#> utilization level (<current level>%) is above <threshold>%!

To recover from this issue, the affected device needs to be manually rebooted to free the leaked jbufs.

This issue affects Junos OS on SRX Series: 

* all versions before 21.2R3-S9, * 21.4 versions before 21.4R3-S10, * 22.2 versions before 22.2R3-S6, * 22.4 versions before 22.4R3-S6, * 23.2 versions before 23.2R2-S3, * 23.4 versions before 23.4R2-S3, * 24.2 versions before 24.2R2.

Weakness: CWE-401

Which versions are affected by CVE-2025-30658?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2025-30658?

No fix has been published for CVE-2025-30658 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-30658 being exploited?

There is no known exploitation of CVE-2025-30658 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-5886-r5hr-c2v4.

Is CVE-2025-30658 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free