{"id":"CVE-2025-48924","published":"2025-07-11T14:56:58Z","modified":"2025-11-04T22:06:40Z","title":"Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs","vendor":"Apache","product":"Apache Commons Lang","tier":"tail","description":{"text":"Uncontrolled Recursion vulnerability in Apache Commons Lang.\n\nThis issue affects Apache Commons Lang: Starting with commons-lang:commons-lang 2.0 to 2.6, and, from org.apache.commons:commons-lang3 3.0 before 3.18.0.\n\nThe methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a \nStackOverflowError could cause an application to stop.\n\nUsers are recommended to upgrade to version 3.18.0, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02632,"percentile":0.859,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://lists.apache.org/thread/bgv0lpswokgol11tloxnjfzdl7yrc1g1","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00032.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00026.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00000.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/11/1","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00036.html","tags":[]}],"priority":{"score":25.9,"factors":[{"name":"EPSS percentile","points":17.18},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-10-17","earliestUrl":"https://github.com/njawalkar/apache-commons-lang2","repos":[{"name":"njawalkar/apache-commons-lang2","url":"https://github.com/njawalkar/apache-commons-lang2","stars":0,"created":"2025-10-17"}]},"first":{"date":"2025-10-17","source":"PoC-in-GitHub","url":"https://github.com/njawalkar/apache-commons-lang2"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Commons Lang","versions":[">= 2.0, <= 2.6"]},{"vendor":"Apache Software Foundation","product":"Apache Commons Lang","versions":[">= 3.0, < 3.18.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-14T16:36:59.432024Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.commons:commons-lang3","vulnerableRanges":[">=3.0, <3.18.0"],"patched":["3.18.0"],"from":["GHSA-j288-q9x7-2f5v"],"provenance":"source"},{"ecosystem":"Maven","package":"commons-lang:commons-lang","vulnerableRanges":[">=2.0, <=2.6"],"patched":[],"from":["GHSA-j288-q9x7-2f5v"],"provenance":"source"}],"summary":{"text":"Apache Commons Lang, in its ClassUtils.getClass(...) methods across the commons-lang 2.0–2.6 line and the commons-lang3 3.0 line before 3.18.0, can recurse without bound on very long inputs. An attacker who can supply a sufficiently long class name to these methods over the network, with no authentication or user interaction, can trigger a StackOverflowError that may cause the hosting application to stop.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:53Z"},"euvd":{"id":"EUVD-2025-21159","exploited":false,"provenance":"source"}}