CVE-2025-48924

Source
https://cve.org/CVERecord?id=CVE-2025-48924
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48924.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-48924
Aliases
Downstream
Related
Published
2025-07-11T14:56:58.049Z
Modified
2026-05-18T05:59:35.758981460Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "2.0"
                },
                {
                    "last_affected": "2.6"
                },
                {
                    "introduced": "3.0"
                },
                {
                    "fixed": "3.18.0"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48924.json",
    "cna_assigner": "apache",
    "cwe_ids": [
        "CWE-674"
    ]
}
References

Affected packages

Git / github.com/apache/commons-lang

Affected ranges

Type
GIT
Repo
https://github.com/apache/commons-lang
Events
Database specific
{
    "cpe": "cpe:2.3:a:apache:commons_lang:*:*:*:*:*:*:*:*",
    "source": "CPE_FIELD",
    "extracted_events": [
        {
            "introduced": "2.0"
        },
        {
            "fixed": "2.6"
        },
        {
            "introduced": "3.0"
        },
        {
            "fixed": "3.18.0"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48924.json"