Skip to main content
MEDIUM

CVE-2025-48924

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

CVSS v3

5.3

MEDIUM

EPSS Score

2.6 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Get an alert for each new CVE published for commons-lang.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • commons-lang:commons-langMavenfrom 2.0 · no fixed version listed
  • org.apache.commons:commons-lang3Mavenfrom 3.0 · fixed in 3.18.0

Vendor advisories

  • CVE-2025-48924 Red Hat Product Security5 products fixed · 454 known affected

    commons-lang/commons-lang: org.apache.commons/commons-lang3: Uncontrolled Recursion vulnerability in Apache Commons Lang

    commons-lang as a component of Cryostat 4 · commons-lang3 as a component of Cryostat 4 · commons-lang as a component of Logging Subsystem for Red Hat OpenShift

  • RHSA-2025:23417 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Streams for Apache Kafka 3.1.0 release and security update

  • RHSA-2025:23143 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Build of Apache Camel 4.14.2 for Spring Boot release.

  • RHSA-2025:16407 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Streams for Apache Kafka 3.0.1 release and security update

  • RHSA-2025:15697 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Streams for Apache Kafka 2.9.2 release and security update

  • RHSA-2025:12511 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Streams for Apache Kafka 3.0.0 release and security update

Full record on NVD

Description

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
2025-07-11
Last Modified
2025-11-04

Frequently asked questions

What is CVE-2025-48924?

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.

Is CVE-2025-48924 actively exploited?

Active exploitation of CVE-2025-48924 has not been confirmed. Its EPSS score was 2.6% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-48924?

CVE-2025-48924 has a CVSS v3 base score of 5.3 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Running commons-lang? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month