CVE-2025-3985 Apereo CAS ResponseEntity redos

Medium 5.1 Published Updated

Remote attackers can cause denial of service in Apereo CAS by exploiting inefficient regular expression complexity in the ResponseEntity function.

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

What is CVE-2025-3985?

CVE-2025-3985 is a medium-severity denial of service vulnerability in Apereo CAS, published on 27 Apr 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was found in Apereo CAS 5.2.6. It has been classified as problematic. This affects the function ResponseEntity of the file cas-5.2.6\webapp-mgmt\cas-management-webapp-support\src\main\java\org\apereo\cas\mgmt\services\web\ManageRegisteredServicesMultiActionController.java. The manipulation of the argument Query leads to inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-400, CWE-1333

Which versions are affected by CVE-2025-3985?

2 open source packages ship an affected version, including org.apereo.cas:cas-management-webapp-support. It affects 1 product.

PackageAffectedFixed in
org.apereo.cas:cas-management-webapp-support MavenAll versions to 5.2.6None
org.apereo.cas:cas-management-webapp-support MavenAll versions to 5.2.6None

Products include Apereo Central Authentication Service.

How do I fix CVE-2025-3985?

No fix has been published for CVE-2025-3985 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-3985 being exploited?

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

Sources

Also known as GHSA-8rx4-fxq5-vj4v.

Is CVE-2025-3985 in your software?

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

Check your SBOMs for free