{"id":"UBUNTU-CVE-2025-48924","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.","modified":"2026-06-02T18:15:30.344912113Z","published":"2025-07-11T15:15:00Z","related":["USN-8364-1"],"upstream":["CVE-2025-48924"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48924"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-48924"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/07/11/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8364-1"}],"affected":[{"package":{"name":"libcommons-lang-java","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang-java?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-3ubuntu2+esm1"}]}],"versions":["2.6-3ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"2.6-3ubuntu2+esm1","binary_name":"libcommons-lang-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-1ubuntu0.1~esm1"}]}],"versions":["3.1-1","3.1-2","3.2.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"libcommons-lang3-java","binary_version":"3.2.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang-java","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang-java?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-6ubuntu2+esm1"}]}],"versions":["2.6-5ubuntu1","2.6-6ubuntu1","2.6-6ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6-6ubuntu2+esm1","binary_name":"libcommons-lang-java"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4-1ubuntu0.1~esm1"}]}],"versions":["3.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang3-java","binary_version":"3.4-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang-java","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang-java?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-8ubuntu0.1~esm1"}]}],"versions":["2.6-6ubuntu3","2.6-7","2.6-8"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang-java","binary_version":"2.6-8ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8-1~18.04.2+esm1"}]}],"versions":["3.5-1","3.5-2ubuntu1","3.8-1~18.04.2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang3-java","binary_version":"3.8-1~18.04.2+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang-java","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang-java?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-9ubuntu0.20.04.1~esm1"}]}],"versions":["2.6-8","2.6-9"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang-java","binary_version":"2.6-9ubuntu0.20.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8-2ubuntu0.1~esm1"}]}],"versions":["3.8-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.8-2ubuntu0.1~esm1","binary_name":"libcommons-lang3-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang-java?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-9ubuntu0.22.04.1"}]}],"versions":["2.6-9"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang-java","binary_version":"2.6-9ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.11-1ubuntu0.1"}]}],"versions":["3.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang3-java","binary_version":"3.11-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang-java","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang-java?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-10ubuntu0.1"}]}],"versions":["2.6-10"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang-java","binary_version":"2.6-10ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.14.0-1ubuntu0.1~esm1"}]}],"versions":["3.12.0-2","3.13.0-1","3.14.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-lang3-java","binary_version":"3.14.0-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}},{"package":{"name":"libcommons-lang3-java","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcommons-lang3-java?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.17.0-1","binary_name":"libcommons-lang3-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48924.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}