CVE-2025-48924: Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs

Published Jul 11, 2025
·
Updated

Uncontrolled Recursion vulnerability in Apache Commons Lang. This 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. The methods ClassUtils.getClass(...) can throw StackOverflowError on very long inputs. Because an Error is usually not handled by applications and libraries, a StackOverflowError could cause an application to stop. Users are recommended to upgrade to version 3.18.0, which fixes the issue.

Affected Software

7 affected componentsFixes available
Apache Commons Lang>=2.0<=2.6
Apache Commons Lang 3<3.18.0
maven/commons-lang:commons-lang>=2.0<=2.6
maven/org.apache.commons:commons-lang3>=3.0<3.18.0
3.18.0
Apache Commons Lang>=2.0<2.6
Apache Commons Lang>=3.0<3.18.0
IBM Knowledge Catalog Standard Cartridge<=5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1, 5.1.1, 5,1.2, 5.1.3, 5.2.0, 5.2.1

Event History

Jul 11, 2025
CVE Published
via MITRE·02:56 PM
Data Sourced
via MITRE·02:56 PM
DescriptionWeakness
Data Sourced
via Red Hat·03:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
Affected Software
Advisory Published
via GitHub·03:31 PM
Data Sourced
via GitHub·03:31 PM
DescriptionSeverityWeaknessAffected Software
Mar 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-48924?

CVE-2025-48924 has a high severity due to its potential to cause a StackOverflowError through uncontrolled recursion.

2

How do I fix CVE-2025-48924?

To fix CVE-2025-48924, upgrade to Apache Commons Lang version 3.18.0 or later.

3

Which versions are affected by CVE-2025-48924?

CVE-2025-48924 affects Apache Commons Lang versions 2.0 to 2.6 and Commons Lang 3 up to but not including 3.18.0.

4

What is the impact of CVE-2025-48924 on applications?

The impact of CVE-2025-48924 on applications can result in application crashes due to StackOverflowError.

5

Is there a workaround for CVE-2025-48924 before applying a fix?

There is no official known workaround for CVE-2025-48924, so upgrading is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203