{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-25724 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-25724 is a medium-severity denial of service vulnerability in Libarchive Libarchive, published on 2 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-25724 and fix it if it is affected.\n\nWhat it is: CVE-2025-25724 is a medium-severity denial of service vulnerability in Libarchive Libarchive, published on 2 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-25724 in the wild and no public exploit code.\n\nAffected product: Libarchive Libarchive. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-25724/ (Markdown: https://insights.sbomify.com/CVE-2025-25724/index.md)","id":"CVE-2025-25724","markdown":"https://insights.sbomify.com/CVE-2025-25724/index.md","name":"CVE-2025-25724","record":{"aliases":["ALPINE-CVE-2025-25724","ALSA-2025:9420","ALSA-2025:9431","AZL-57712","AZL-57720","BELL-CVE-2025-25724","CLSA-2025-1753377742","CLSA-2025-1754338412","CLSA-2025-1764235944","CVE-2025-25725","DEBIAN-CVE-2025-25724","ECHO-fbe0-7de7-ac8d","GHSA-722w-734r-qg74","JLSEC-2025-243","MGASA-2025-0102","MINI-95fg-pv3f-v6h7","OESA-2025-1309","OESA-2025-1312","OESA-2025-1313","RHSA-2025:9420","RHSA-2025:9431","RHSA-2026:24383","RLSA-2025:9420","RLSA-2025:9431","SUSE-SU-2025:0986-1","UBUNTU-CVE-2025-25724"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"libarchive library","requires_auth":"none","summary":"A crafted TAR archive can cause a denial of service in libarchive due to unchecked strftime return values during verbose listing.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libarchive","vendor":"libarchive"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-252","name":"Unchecked Return Value"}],"description":"list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_e4s:9.4::appstream","Red Hat:rhel_e4s:9.4::baseos","Rocky Linux:10","Rocky Linux:9","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of service in libarchive","id":"CVE-2025-25724","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libarchive:libarchive","products":["libarchive:libarchive"],"type":"denial_of_service","year":"2025"},"n_packages":46,"n_references":3,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2025-25727"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/almalinux/bsdtar","source":"ALSA-2025:9420"},{"ecosystem":"AlmaLinux:10","fixed":["3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/almalinux/libarchive","source":"ALSA-2025:9420"},{"ecosystem":"AlmaLinux:10","fixed":["3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/almalinux/libarchive-devel","source":"ALSA-2025:9420"},{"ecosystem":"AlmaLinux:9","fixed":["3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/almalinux/bsdtar","source":"ALSA-2025:9431"},{"ecosystem":"AlmaLinux:9","fixed":["3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/almalinux/libarchive","source":"ALSA-2025:9431"},{"ecosystem":"AlmaLinux:9","fixed":["3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/almalinux/libarchive-devel","source":"ALSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/redhat/bsdtar","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"bsdunzip-debuginfo","purl":"pkg:rpm/redhat/bsdunzip-debuginfo","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/redhat/libarchive","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:3.7.7-3.el10_0"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/redhat/libarchive-devel","source":"RHSA-2025:9420"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/redhat/bsdtar","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/redhat/libarchive-devel","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/redhat/libarchive","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.5.3-5.el9_6"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2025:9431"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdtar","purl":"pkg:rpm/redhat/bsdtar","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libarchive-debugsource","purl":"pkg:rpm/redhat/libarchive-debugsource","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::appstream","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libarchive-devel","purl":"pkg:rpm/redhat/libarchive-devel","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdcat-debuginfo","purl":"pkg:rpm/redhat/bsdcat-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdcpio-debuginfo","purl":"pkg:rpm/redhat/bsdcpio-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"bsdtar-debuginfo","purl":"pkg:rpm/redhat/bsdtar-debuginfo","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libarchive","purl":"pkg:rpm/redhat/libarchive","source":"RHSA-2026:24383"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.5.3-5.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"libarchive-debuginfo","purl":"pkg:rpm/redhat/libarchive-debuginfo","source":"RHSA-2026:24383"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2025-25723"},"products":["libarchive"],"published":"2025-03-02","related":[{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2024-37407","kev_date_added":null,"published":"2024-06-08"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2016-1541","kev_date_added":null,"published":"2016-05-07"},{"cvss_score":8.6,"headline":"Integer overflow in n/a","id":"CVE-2016-6250","kev_date_added":null,"published":"2016-09-21"},{"cvss_score":7.8,"headline":"Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c","id":"CVE-2025-5914","kev_date_added":null,"published":"2025-06-09"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2024-48957","kev_date_added":null,"published":"2024-10-10"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2024-48958","kev_date_added":null,"published":"2024-10-10"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-4300","kev_date_added":null,"published":"2016-09-21"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-04","vendors":["libarchive"]},"summary":"A crafted TAR archive can cause a denial of service in libarchive due to unchecked strftime return values during verbose listing.","url":"https://insights.sbomify.com/CVE-2025-25724/"}