cve.bz

CVE-2025-48924 apache commons lang: Uncontrolled Recursion

5.3 mediumEPSS 2.6%Fix available

Medium (5.3) in apache commons lang. EPSS 2.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.commons:commons-lang3 3.18.0.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-07-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-48924 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48924?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48924?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48924 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Commons Langfrom 2.0 through 2.6
Apache Software Foundation Apache Commons Langfrom 3.0 before 3.18.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j288-q9x7-2f5vMavenorg.apache.commons:commons-lang3>=3.0 <3.18.03.18.0
GHSA-j288-q9x7-2f5vMavencommons-lang:commons-lang>=2.0 <=2.6no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libcommons-lang-java2.6-9+deb11u1DLA-4262-1
Debian11libcommons-lang3-java3.11-1+deb11u1DLA-4286-1
Debian12libcommons-lang-java2.6-10+deb12u1DEBIAN-CVE-2025-48924
Debian12libcommons-lang3-java3.12.0-2+deb12u1DEBIAN-CVE-2025-48924
Debian13libcommons-lang-java2.6-10+deb13u1DEBIAN-CVE-2025-48924
Debian13libcommons-lang3-java3.17.0-1+deb13u1DEBIAN-CVE-2025-48924
Debian14libcommons-lang-java2.6-11DEBIAN-CVE-2025-48924
Debian14libcommons-lang3-java3.17.0-2DEBIAN-CVE-2025-48924
Ubuntu22.04:LTSlibcommons-lang-java2.6-9ubuntu0.22.04.1UBUNTU-CVE-2025-48924 USN-8364-1
Ubuntu22.04:LTSlibcommons-lang3-java3.11-1ubuntu0.1UBUNTU-CVE-2025-48924 USN-8364-1
Ubuntu24.04:LTSlibcommons-lang-java2.6-10ubuntu0.1UBUNTU-CVE-2025-48924 USN-8364-1
Ubuntu25.10libcommons-lang3-javano fix listedUBUNTU-CVE-2025-48924
UbuntuPro:14.04:LTSlibcommons-lang-java2.6-3ubuntu2+esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:14.04:LTSlibcommons-lang3-java3.2.1-1ubuntu0.1~esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:16.04:LTSlibcommons-lang-java2.6-6ubuntu2+esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:16.04:LTSlibcommons-lang3-java3.4-1ubuntu0.1~esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:18.04:LTSlibcommons-lang-java2.6-8ubuntu0.1~esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:18.04:LTSlibcommons-lang3-java3.8-1~18.04.2+esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:20.04:LTSlibcommons-lang-java2.6-9ubuntu0.20.04.1~esm1UBUNTU-CVE-2025-48924 USN-8364-1
UbuntuPro:20.04:LTSlibcommons-lang3-java3.8-2ubuntu0.1~esm1UBUNTU-CVE-2025-48924 USN-8364-1
1 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreapache-commons-compress1.28.0-150200.3.21.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreapache-commons-lang33.20.0-150200.3.15.2SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morebeust-jcommander1.83-150200.3.15.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moregoogle-guice6.0.0-150200.3.13.2SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreguava33.2.1-150200.3.15.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morejansi2.4.0-150200.3.9.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moremaven3.9.16-150200.4.33.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moremaven-resolver1.9.27-150200.3.29.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreplexus-interpolation1.27.0-150200.3.9.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreplexus-xml3.0.1-150200.5.10.1SUSE-SU-2026:3390-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morexmvn, xmvn-mojo, xmvn-tools and 1 more4.3.0-150200.3.30.1SUSE-SU-2026:3390-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7apache-commons-lang2.6-150200.14.3.1SUSE-SU-2025:02785-1
8 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6apache-commons-lang2.6-150200.14.3.1SUSE-SU-2025:02785-1
openSUSELeap 15.6apache-commons-lang33.18.0-150200.3.12.1SUSE-SU-2025:02818-1
openSUSETumbleweedapache-commons-configuration22.15.0-1.1openSUSE-SU-2026:10784-1
openSUSETumbleweedapache-commons-lang33.18.0-1.1openSUSE-SU-2025:15347-1
Azure Linux2apache-commons-lang33.8.1-6AZL-65144
Azure Linux3apache-commons-lang33.8.1-6AZL-65181

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.14.2 for Spring Boot 3.5.8Fixed 2025-12-11RHSA-2025:23143
Streams for Apache Kafka 2.9.2Fixed 2025-09-11RHSA-2025:15697
Streams for Apache Kafka 3.0.0Fixed 2025-08-01RHSA-2025:12511
Streams for Apache Kafka 3.0.1Fixed 2025-09-22RHSA-2025:16407
Streams for Apache Kafka 3.1.0commons-lang3Fixed 2025-12-16RHSA-2025:23417
Cryostat 4commons-langFix deferred
Cryostat 4commons-lang3Fix deferred
Logging Subsystem for Red Hat OpenShiftcommons-langFix deferred
Logging Subsystem for Red Hat OpenShiftcommons-lang3Fix deferred
OpenShift Developer Tools and ServicesjenkinsFix deferred
OpenShift Developer Tools and Servicesjenkins-2-pluginsFix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-log-sink-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-timer-source-rhel8Fix deferred
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-transform-jsonata-rhel8Fix deferred
121 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48924.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON