{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.commons:commons-fileupload2-core and commons-fileupload:commons-fileupload. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-48976 in the wild and no public exploit code.","fix":"Upgrade org.apache.commons:commons-fileupload2-core to 2.0.0-M4 or later.","what":"CVE-2025-48976 is a high-severity denial of service vulnerability in Apache Commons FileUpload, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-48976 and fix it if it is affected.\n\nWhat it is: CVE-2025-48976 is a high-severity denial of service vulnerability in Apache Commons FileUpload, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-48976 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.commons:commons-fileupload2-core (Maven): affected from 2.0.0-M1; fixed in 2.0.0-M4\n- org.apache.commons:commons-fileupload2-core (Maven): affected from 2.0.0-M1; fixed in 2.0.0-M4\n- commons-fileupload:commons-fileupload (Maven): affected from 1.0; fixed in 1.6.0\n- commons-fileupload:commons-fileupload (Maven): affected from 1.0; fixed in 1.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-48976/ (Markdown: https://insights.sbomify.com/CVE-2025-48976/index.md)","id":"CVE-2025-48976","markdown":"https://insights.sbomify.com/CVE-2025-48976/index.md","name":"CVE-2025-48976","record":{"aliases":["CLSA-2026-1777509601","CLSA-2026-1777509603","CLSA-2026-1777941823","DEBIAN-CVE-2025-48976","ECHO-830f-870a-69ba","GHSA-vv7r-c36w-3prj","MGASA-2025-0296","MINI-3fwh-37pf-5p96","MINI-fmhp-x964-9h9j","MINI-m7c4-4p5h-hhvc","MINI-w78r-7f6p-6fv3","OESA-2025-1706","OESA-2025-1765","OESA-2025-1814","OESA-2025-1815","OESA-2025-1817","OESA-2025-1818","OESA-2025-1819","RHLW-2026-8f37e023b4e3806b","ROOT-APP-MAVEN-CVE-2025-48976","SUSE-SU-2025:02159-1","SUSE-SU-2025:02184-1","UBUNTU-CVE-2025-48976","openSUSE-SU-2025:15208-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java file upload library","requires_auth":"none","summary":"Attackers can cause denial of service in applications using Apache Commons FileUpload by sending multipart headers with excessive resource allocation.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"commons_fileupload","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"description":"Allocation of resources for multipart headers with insufficient limits enabled a DoS vulnerability in Apache Commons FileUpload.\n\nThis issue affects Apache Commons FileUpload: from 1.0 before 1.6; from 2.0.0-M1 before 2.0.0-M4.\n\nUsers are recommended to upgrade to versions 1.6 or 2.0.0-M4, which fix the issue.","ecosystems":["Maven","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Web and Scripting 15 SP6","SUSE:Linux Enterprise Module for Web and Scripting 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Server 4.3","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-06-23","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-06-23T05:41:22Z","kind":"github_poc","ref":"https://github.com/nankuo/CVE-2025-48976_CVE-2025-48988","stars":2,"title":"CVE-2025-48976_CVE-2025-48988"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apache Commons FileUpload, Apache Commons FileUpload: FileUpload DoS via part headers","id":"CVE-2025-48976","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":23,"n_references":1,"next":{"headline":"Apache Ignite: REST HTTP arbitrary file read vulnerability","id":"CVE-2025-48977"},"packages":[{"ecosystem":"Maven","fixed":["1.6.0"],"introduced":["1.0"],"last_affected":[],"package":"commons-fileupload:commons-fileupload","purl":null,"source":"GHSA-vv7r-c36w-3prj"},{"ecosystem":"Maven","fixed":["1.6.0"],"introduced":["1.0"],"last_affected":[],"package":"commons-fileupload:commons-fileupload","purl":"pkg:maven/commons-fileupload/commons-fileupload","source":"GHSA-vv7r-c36w-3prj"},{"ecosystem":"Maven","fixed":["2.0.0-M4"],"introduced":["2.0.0-M1"],"last_affected":[],"package":"org.apache.commons:commons-fileupload2-core","purl":null,"source":"GHSA-vv7r-c36w-3prj"},{"ecosystem":"Maven","fixed":["2.0.0-M4"],"introduced":["2.0.0-M1"],"last_affected":[],"package":"org.apache.commons:commons-fileupload2-core","purl":"pkg:maven/org.apache.commons/commons-fileupload2-core","source":"GHSA-vv7r-c36w-3prj"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP6","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP6","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 15 SP7","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP7","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["1.6.0-126.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2025:02184-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["1.6.0-126.3.1"],"introduced":["0"],"last_affected":[],"package":"jakarta-commons-fileupload","purl":"pkg:rpm/suse/jakarta-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:02184-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/suse/apache-commons-fileupload\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.6.0-150200.3.12.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/opensuse/apache-commons-fileupload\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02159-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.6.0-1.1"],"introduced":["0"],"last_affected":[],"package":"apache-commons-fileupload","purl":"pkg:rpm/opensuse/apache-commons-fileupload\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15208-1"}],"prev":{"headline":"Null dereference in mbedtls","id":"CVE-2025-48965"},"products":["Apache Commons FileUpload"],"published":"2025-06-16","related":[{"cvss_score":9.8,"headline":"Improper Access Control in commons-fileupload","id":"CVE-2016-1000031","kev_date_added":null,"published":"2016-10-25"},{"cvss_score":7.5,"headline":"Apache Commons FileUpload, Apache Tomcat: FileUpload DoS with excessive parts","id":"CVE-2023-24998","kev_date_added":null,"published":"2023-02-20"},{"cvss_score":7.5,"headline":"High severity vulnerability that affects commons-fileupload:commons-fileupload","id":"CVE-2016-3092","kev_date_added":null,"published":"2016-07-04"},{"cvss_score":7.5,"headline":"Commons FileUpload Denial of service vulnerability","id":"CVE-2014-0050","kev_date_added":null,"published":"2014-03-28"},{"cvss_score":6.8,"headline":"Incorrect Default Permissions in Apache Commons FileUpload","id":"CVE-2013-0248","kev_date_added":null,"published":"2013-03-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["Apache Software Foundation"]},"summary":"Attackers can cause denial of service in applications using Apache Commons FileUpload by sending multipart headers with excessive resource allocation.","url":"https://insights.sbomify.com/CVE-2025-48976/"}