{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8851 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-8851 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 11 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-8851 and fix it if it is affected.\n\nWhat it is: CVE-2025-8851 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 11 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-8851 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-8851/ (Markdown: https://insights.sbomify.com/CVE-2025-8851/index.md)","id":"CVE-2025-8851","markdown":"https://insights.sbomify.com/CVE-2025-8851/index.md","name":"CVE-2025-8851","record":{"aliases":["AZL-66258","AZL-66282","CLSA-2026-1787932569","DEBIAN-CVE-2025-8851","ECHO-0263-9519-53e9","GHSA-mcqf-6qjh-v78v","JLSEC-2025-321","MINI-mx84-v38v-m9cj","ROOT-OS-DEBIAN-12-CVE-2025-8851","SUSE-SU-2025:3989-1","UBUNTU-CVE-2025-8851","openSUSE-SU-2025:15682-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":"A stack-based buffer overflow in LibTIFF's tiffcrop tool allows local attackers 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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability was determined in LibTIFF up to 4.5.1. Affected by this issue is the function readSeparateStripsetoBuffer of the file tools/tiffcrop.c of the component tiffcrop. The manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The patch is identified as 8a7a48d7a645992ca83062b3a1873c951661e2b3. It is recommended to apply a patch to fix this issue.","ecosystems":["SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","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 readSeparateStripsetoBuffer stack-based overflow","id":"CVE-2025-8851","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libtiff:libtiff","products":["libtiff:libtiff"],"type":"memory_corruption","year":"2025"},"n_packages":2,"n_references":5,"next":{"headline":"WuKongOpenSource WukongCRM API Response upload information exposure","id":"CVE-2025-8852"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["4.0.9-44.106.1"],"introduced":["0"],"last_affected":[],"package":"tiff","purl":"pkg:rpm/suse/tiff\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:3989-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.7.1-3.1"],"introduced":["0"],"last_affected":[],"package":"tiff","purl":"pkg:rpm/opensuse/tiff\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15682-1"}],"prev":{"headline":"Insecure API Design in danny-avila/librechat","id":"CVE-2025-8850"},"products":["LibTIFF"],"published":"2025-08-11","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":"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-12","vendors":["n/a"]},"summary":"A stack-based buffer overflow in LibTIFF's tiffcrop tool allows local attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2025-8851/"}