Medium

Apereo CAS has inefficient regular expression complexity

  • Disclosed: 27.04.2025
  • Updated: 11.10.2026 12:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apereo.cas:cas-management-webapp-support <= 5.2.6 no fix

References

CVSS score 2.7/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Weakness (CWE)
CWE-400
Platform
Java / Kotlin (Maven)
Package
org.apereo.cas:cas-management-webapp-support
Disclosed
27.04.2025
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-8rx4-fxq5-vj4v - CC BY 4.0

Vulnerability history: org.apereo.cas:cas-management-webapp-support

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
04.2025 04.2025
Without a fix
2
Exploited in attacks
0

Severity breakdown

  • Medium 1
  • Low 1

Disclosures per year

  1. 2025: 2
  2. 2026: 0
  1. Apereo CAS has inefficient regular expression complexity this entry
    Medium · 2.7 CVE-2025-3985 <= 5.2.6 no fix
  2. Low · 5.0 CVE-2025-3984 <= 5.2.6 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.