CVE-2025-48924
Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs
A public proof of concept exists; no exploitation attested.
- Published2025-07-11
- WeaknessCWE-674
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-07-1115:15CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.0, ≤ 2.6 | no fix published | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.x | ≥ 3.0, < 3.18.0 | 3.18.0 | NVD · OSV |
| 2.x | ≥ 2.0, < 2.6 | 2.6 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Commons Langother versions: unknown
package commons-lang:commons-langhttps://repo.maven.apache.org/maven2
Affected- ≥ 2.0, ≤ 2.6no fix statedmaven
- Apache Software Foundation Apache Commons Langother versions: not affected
package org.apache.commons:commons-lang3https://repo.maven.apache.org/maven2
Affected- ≥ 3.0, < 3.18.0fixed in 3.18.0maven
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-07-11
Distribution builds and vendor advisories
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
- airbyte-serverMinimOSall versions · fixed in 2.2.0-r0
- airflow-3Wolfiall versions · fixed in 3.2.0-r0
- airflow-3Chainguardall versions · fixed in 3.2.0-r0
- akhqWolfiall versions · fixed in 0.26.0-r0
- akhqChainguardall versions · fixed in 0.26.0-r0
- apache-activemq-artemisWolfiall versions · fixed in 2.42.0-r1and 1 other package
- apache-activemq-artemisChainguardall versions · fixed in 2.42.0-r1and 1 other package
- apache-commons-cliSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 1.11.0-160000.1.1
398 more package ranges on OSV.dev
Vendor advisories
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 · +451 more
Red Hat Security Advisory: Streams for Apache Kafka 3.1.0 release and security update
Red Hat Security Advisory: Red Hat Build of Apache Camel 4.14.2 for Spring Boot release.
Red Hat Security Advisory: Streams for Apache Kafka 3.0.1 release and security update
Red Hat Security Advisory: Streams for Apache Kafka 2.9.2 release and security update
Red Hat Security Advisory: Streams for Apache Kafka 3.0.0 release and security update
Fix
- Vendor fix Red Hat Product Security RHSA-2025:23417 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2025:23417 · 1 productMitigation 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.
- No fix available, says the vendor Red Hat Product Security CVE-2025-48924 · 454 productsFix deferred
Advisories and patches
- lists.apache.orgVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01njawalkar/apache-commons-lang2
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2025-07-14
- CISA-ADPCVSS 3.15.32025-07-11
- CNAweakness (CWE)CWE-674known since 2026-10-23
- FIRST EPSSEPSS score2.6 %2026-12-04
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2025-07-12
Identifiers
- AZL-65144same flawAzure Linux · MIT
- AZL-65181same flawAzure Linux · MIT
- CGA-2299-cmpf-39x5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22g4-jqw6-qqv9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22h9-8g5r-88rwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22rc-fj4g-cw96same flawChainguard · CC-BY-NC-ND-4.0
- CGA-235q-44wh-v9ghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23xw-qrr4-mrqrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24fx-rf5m-r24xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24v2-3qq6-px4gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25rp-m62v-8j44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26gx-c4fv-j9x4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-26j8-jh57-2v5qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-26w2-g7fv-qmwqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-26xc-fpg7-2x5csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-27g7-4fj5-fmjpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c3g-7f8j-fj6fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2c4c-gw5x-g8m7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cch-f3x9-ccqfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2crj-qw3j-gpwxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2f3j-5r52-q64gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fj5-5f4p-74r6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2fw5-2rrx-pq4xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2gcm-7jf3-62qxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2gvm-mvm6-mvc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2h6j-rj35-7pq8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jrp-x4c9-2gr8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2jv6-v386-xwrfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mfc-q74q-f2h9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mfr-h75r-vwg8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2p22-7r5r-3x74same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2pf6-gqxp-xxvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2q8c-2p7w-2344same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2qfc-h262-x752same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2r3h-32rf-5692same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2v9p-2j88-2xcfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vcm-g6fh-6x5qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vwg-fv7w-2qf7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2vxx-mqvp-rcr4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2w85-h56c-3448same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2wc9-vc44-38m5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x32-35ff-84qgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x5g-pp42-h4mfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x92-xr95-qj6csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2x98-w998-2h2wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3246-4m6w-qp4fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3247-7c3q-x8q7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-324c-m2px-3cjpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-327g-7wcg-qh96same flawChainguard · CC-BY-NC-ND-4.0
- CGA-33j6-8chj-q65wsame flawChainguard · CC-BY-NC-ND-4.0
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
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-j288-q9x7-2f5v
Frequently asked questions
What is CVE-2025-48924?
Is CVE-2025-48924 actively exploited?
What is the CVSS score for CVE-2025-48924?
Running commons-lang? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-j288-q9x7-2f5v
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0