{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8961 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-8961 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 14 Aug 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-8961 and fix it if it is affected.\n\nWhat it is: CVE-2025-8961 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 14 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8961 exists.\n\nAffected product: Libtiff Libtiff. 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-8961/ (Markdown: https://insights.sbomify.com/CVE-2025-8961/index.md)","id":"CVE-2025-8961","markdown":"https://insights.sbomify.com/CVE-2025-8961/index.md","name":"CVE-2025-8961","record":{"aliases":["ALPINE-CVE-2025-8961","AZL-66423","AZL-66426","BELL-CVE-2025-8961","DEBIAN-CVE-2025-8961","ECHO-ebc5-0965-ea5c","GHSA-7vmv-3r46-2vxx","JLSEC-2025-322","MINI-7v2q-cxxp-php8","ROOT-OS-DEBIAN-12-CVE-2025-8961","UBUNTU-CVE-2025-8961","openSUSE-SU-2025:15541-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"LibTIFF image library","requires_auth":"low_privilege","summary":"Local attackers can exploit memory corruption in LibTIFF's tiffcrop utility to execute arbitrary code or cause denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"libtiff","vendor":"libtiff"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A weakness has been identified in LibTIFF 4.7.0. This affects the function main of the file tiffcrop.c of the component tiffcrop. Executing manipulation can lead to memory corruption. The attack can only be executed locally. The exploit has been made available to the public and could be exploited.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"LibTIFF tiffcrop tiffcrop.c main memory corruption","id":"CVE-2025-8961","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libtiff:libtiff","products":["libtiff:libtiff"],"type":"memory_corruption","year":"2025"},"n_packages":1,"n_references":7,"next":{"headline":"code-projects Hostel Management System Login Form hostel_manage.exe stack-based overflow","id":"CVE-2025-8962"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.7.0-9.1"],"introduced":["0"],"last_affected":[],"package":"tiff","purl":"pkg:rpm/opensuse/tiff\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15541-1"}],"prev":{"headline":"Campcodes Online Flight Booking Management System save_airlines.php sql injection","id":"CVE-2025-8960"},"products":["LibTIFF"],"published":"2025-08-14","related":[{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2004-1308","kev_date_added":null,"published":"2004-12-22"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0929","kev_date_added":null,"published":"2004-10-26"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-61144","kev_date_added":null,"published":"2026-02-23"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-9533","kev_date_added":null,"published":"2016-11-22"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-9534","kev_date_added":null,"published":"2016-11-22"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-9535","kev_date_added":null,"published":"2016-11-22"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-9536","kev_date_added":null,"published":"2016-11-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-23","vendors":["n/a"]},"summary":"Local attackers can exploit memory corruption in LibTIFF's tiffcrop utility to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-8961/"}