{"schemaVersion":3,"id":"CVE-2025-3985","aliases":["GHSA-8rx4-fxq5-vj4v"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-04-27T20:31:06.556Z","modified":"2025-04-28T18:09:01.110Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":2.7,"severity":"low","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":3.3,"severity":"low","vector":"AV:N/AC:L/Au:M/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":2.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","exploitability":3.1,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.3,"severity":"low","vector":"AV:N/AC:L/Au:M/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00623,"percentile":0.48941,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.027999999999999987,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00595},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00623,"percentile":0.48941}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00595,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00623,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00623,"percentile":0.48941}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_E95629E62575B87B","name":"Exploit Reference (wx.mail.qq.com)","source":"reference","url":"https://wx.mail.qq.com/s?k=lzDuxVkSRXUZ0bwZEG","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"apereo","product":"cas","name":"CAS","label":"cas","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2.6","eol":null,"hubHref":"/vendor/apereo/cas"},{"vendor":"apereo","product":"central_authentication_service","name":"central authentication service","label":"central_authentication_service","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"5.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"5.2.6","eol":null,"hubHref":"/vendor/apereo/central_authentication_service"},{"vendor":"org.apereo.cas","product":"cas-management-webapp-support","name":"org.apereo.cas:cas-management-webapp-support","label":"cas-management-webapp-support","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apereo.cas/cas-management-webapp-support","purlType":"maven","versions":[{"text":"≤ 5.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 5.2.6","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.306321","label":"vuldb.com?id.306321","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","WEB","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.306321","label":"vuldb.com?ctiid.306321","hostname":"vuldb.com","tags":["Signature","Permissions Required","WEB","VDB Entry"]},{"url":"https://vuldb.com/?submit.557110","label":"vuldb.com?submit.557110","hostname":"vuldb.com","tags":["Third Party Advisory","WEB","VDB Entry"]},{"url":"https://wx.mail.qq.com/s?k=lzDuxVkSRXUZ0bwZEG","label":"wx.mail.qq.com/s?k=lzDuxVkSRXUZ0bwZEG","hostname":"wx.mail.qq.com","tags":["Exploit","WEB","Not Applicable"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3985","label":"nvd.nist.gov/vuln/detail/CVE-2025-3985","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apereo/cas","label":"github.com/apereo/cas","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-04-27T20:31:06.556Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-28T18:09:01.110Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:44:49.594Z","stale":false,"partial":false}}