{"schemaVersion":3,"id":"CVE-2025-8176","aliases":["RHSA-2025:20034","UBUNTU-CVE-2025-8176","DEBIAN-CVE-2025-8176","CGA-c27q-6pqp-x3rq","CGA-c99f-7pqg-c42w"],"status":"published","duplicateOf":null,"title":null,"description":"A vulnerability was found in LibTIFF up to 4.7.0. It has been declared as critical. This vulnerability affects the function get_histogram of the file tools/tiffmedian.c. The manipulation leads to use after free. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. The patch is identified as fe10872e53efba9cc36c66ac4ab3b41a839d5172. It is recommended to apply a patch to fix this issue.","dates":{"published":"2025-07-26T03:32:08.851Z","modified":"2025-07-28T14:28:58.338Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","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:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":4.8,"severity":"medium","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:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":4.8,"severity":"medium","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:P","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":4.8,"severity":"medium","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:P","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":1.9,"severity":"low","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:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00267,"percentile":0.17649,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.025000000000000022,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00242},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00243,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00267,"percentile":0.17649}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00242,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00251,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00267,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00267,"percentile":0.17649}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_3C1C9DDEDFB8F8A0","name":"Exploit Reference (gitlab.com)","source":"reference","url":"https://gitlab.com/libtiff/libtiff/-/issues/707","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"chainguard","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/tiff","purlType":"apk","versions":[{"text":"< 4.7.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.0-r6","eol":null,"hubHref":null},{"vendor":"wolfi","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/tiff","purlType":"apk","versions":[{"text":"< 4.7.0-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.7.0-r6","eol":null,"hubHref":null},{"vendor":"debian","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/tiff","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 4.7.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 4.7.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"tiff","name":"tiff","label":"tiff","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/tiff","purlType":"deb","versions":[{"text":"< 4.0.3-7ubuntu0.11+esm15","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.6-1ubuntu0.8+esm18","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.9-5ubuntu0.10+esm8","noFixRecorded":false,"fixedIn":null},{"text":"< 4.1.0+git191117-2ubuntu0.20.04.14+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.3.0-6ubuntu0.11","noFixRecorded":false,"fixedIn":null},{"text":"< 4.5.1+git230720-4ubuntu2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.3-7ubuntu0.11+esm15 | < 4.0.6-1ubuntu0.8+esm18 | < 4.0.9-5ubuntu0.10+esm8 | < 4.1.0+git191117-2ubuntu0.20.04.14+esm1 | < 4.3.0-6ubuntu0.11 | < 4.5.1+git230720-4ubuntu2.3","eol":null,"hubHref":null},{"vendor":"libtiff","product":"libtiff","name":"libtiff","label":"libtiff","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.7.0","eol":null,"hubHref":"/vendor/libtiff/libtiff"},{"vendor":"redhat","product":"libtiff","name":"libtiff","label":"libtiff","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libtiff","purlType":"rpm","versions":[{"text":"< 0:4.0.9-36.el8_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.0.9-36.el8_10","eol":null,"hubHref":null},{"vendor":"redhat","product":"libtiff-debuginfo","name":"libtiff-debuginfo","label":"libtiff-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libtiff-debuginfo","purlType":"rpm","versions":[{"text":"< 0:4.0.9-36.el8_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.0.9-36.el8_10","eol":null,"hubHref":null},{"vendor":"redhat","product":"libtiff-debugsource","name":"libtiff-debugsource","label":"libtiff-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libtiff-debugsource","purlType":"rpm","versions":[{"text":"< 0:4.0.9-36.el8_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.0.9-36.el8_10","eol":null,"hubHref":null},{"vendor":"redhat","product":"libtiff-devel","name":"libtiff-devel","label":"libtiff-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libtiff-devel","purlType":"rpm","versions":[{"text":"< 0:4.0.9-36.el8_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.0.9-36.el8_10","eol":null,"hubHref":null},{"vendor":"redhat","product":"libtiff-tools","name":"libtiff-tools","label":"libtiff-tools","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libtiff-tools","purlType":"rpm","versions":[{"text":"< 0:4.0.9-36.el8_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.0.9-36.el8_10","eol":null,"hubHref":null},{"vendor":"redhat","product":"libtiff-tools-debuginfo","name":"libtiff-tools-debuginfo","label":"libtiff-tools-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libtiff-tools-debuginfo","purlType":"rpm","versions":[{"text":"< 0:4.0.9-36.el8_10","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:4.0.9-36.el8_10","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/?id.317590","label":"vuldb.com?id.317590","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","ARTICLE","REPORT","Advisory","Third Party Advisory"]},{"url":"https://vuldb.com/?ctiid.317590","label":"vuldb.com?ctiid.317590","hostname":"vuldb.com","tags":["Signature","Permissions Required","ARTICLE","REPORT","VDB Entry"]},{"url":"https://vuldb.com/?submit.621796","label":"vuldb.com?submit.621796","hostname":"vuldb.com","tags":["Third Party Advisory","ARTICLE","REPORT","Advisory","VDB Entry"]},{"url":"https://gitlab.com/libtiff/libtiff/-/issues/707","label":"gitlab.com/libtiff/libtiff/-/issues/707","hostname":"gitlab.com","tags":["Exploit","Issue Tracking","ARTICLE","REPORT","Vendor Advisory"]},{"url":"https://gitlab.com/libtiff/libtiff/-/merge_requests/727","label":"gitlab.com/libtiff/libtiff/-/merge_requests/727","hostname":"gitlab.com","tags":["Patch","ARTICLE","FIX","Product"]},{"url":"https://gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172","label":"gitlab.com/libtiff/libtiff/-/commit/fe10872e53efba9cc36c66ac4ab3b41a839d5172","hostname":"gitlab.com","tags":["Patch","ARTICLE","FIX"]},{"url":"http://www.libtiff.org/","label":"www.libtiff.org","hostname":"www.libtiff.org","tags":["Product","ARTICLE","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2025:20034","label":"access.redhat.com/errata/RHSA-2025:20034","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2383598","label":"bugzilla.redhat.com/show_bug.cgi?id=2383598","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_20034.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_20034.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-8176","label":"access.redhat.com/security/cve/CVE-2025-8176","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-8176","label":"www.cve.org/CVERecord?id=CVE-2025-8176","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8176","label":"nvd.nist.gov/vuln/detail/CVE-2025-8176","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://ubuntu.com/security/CVE-2025-8176","label":"ubuntu.com/security/CVE-2025-8176","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7707-1","label":"ubuntu.com/security/notices/USN-7707-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-8176","label":"security-tracker.debian.org/tracker/CVE-2025-8176","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8176.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8176.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2025-0252","OPENSUSE-SU-2025:15417-1","OPENSUSE-SU-2025:20049-1","RHSA-2025:19113","RHSA-2025:19906","RHSA-2025:20956","RHSA-2025:21407","RHSA-2025:21507","RHSA-2025:21508","RHSA-2026:0001","RHSA-2026:0076","RHSA-2026:0077","RHSA-2026:0078","SUSE-SU-2025:02770-1","SUSE-SU-2025:02771-1","SUSE-SU-2025:02815-1","SUSE-SU-2025:20971-1","SUSE-SU-2025:21009-1","SUSE-SU-2025:21032-1","SUSE-SU-2025:21037-1","USN-7707-1"],"duplicates":[],"related":["CGA-PM6R-52VX-4287","OPENSUSE-SU-2025:15417-1","OPENSUSE-SU-2025:20049-1","SUSE-SU-2025:02770-1","SUSE-SU-2025:02771-1","SUSE-SU-2025:02815-1","SUSE-SU-2025:20971-1","SUSE-SU-2025:21009-1","SUSE-SU-2025:21032-1","SUSE-SU-2025:21037-1","USN-7707-1"]},"timeline":[{"kind":"published","date":"2025-07-26T03:32:08.851Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-28T14:28:58.338Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:43:08.801Z","stale":false,"partial":false}}