p PatchFirst

CVE-2025-8176

CVE-2025-8176 · LibTIFF tiffmedian.c get_histogram use after free

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.8 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libtiff

    Versions
    • 4.0: Affected
    • 4.1: Affected
    • 4.2: Affected
    • 4.3: Affected
    • 4.4: Affected
    • 4.5: Affected
    • 4.6: Affected
    • 4.7.0: Affected

    No fix published

  • tiff Debian:12

    Versions
    • 4.5.0-6
    • 4.5.0-6+deb12u1
    • 4.5.0-6+deb12u2
    • 4.5.0-6+deb12u3
    • 4.5.0-6+deb12u4
    • 4.5.1+git230720-1
    • 4.5.1+git230720-2
    • 4.5.1+git230720-3
    • 4.5.1+git230720-4
    • 4.5.1+git230720-5
    • 4.5.1-1
    • 4.5.1~rc3-1
    • 4.6.0-1
    • 4.6.0-2
    • 4.7.0-1
    • 4.7.0-2
    • 4.7.0-3
    • 4.7.0-4
    • 4.7.0-5
    • 4.7.1-1
    • 4.7.1-2
    • 4.7.1-3
    • 4.7.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tiff Debian:13

    Versions
    • 4.7.0-3
    • 4.7.0-3+deb13u1
    • 4.7.0-3+deb13u2
    • 4.7.0-3+deb13u3
    • 4.7.0-4
    • 4.7.0-5
    • 4.7.1-1
    • 4.7.1-2
    • 4.7.1-3
    • 4.7.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tiff Debian:14

    Versions
    • 4.7.0-3
    • 4.7.0-4
    • 4.7.0-5
    Affected ranges
    • ECOSYSTEM: < 4.7.1-1

    Update to 4.7.1-1

  • tiff Ubuntu:Pro:14.04:LTS

    Versions
    • 4.0.2-4ubuntu3
    • 4.0.3-5ubuntu1
    • 4.0.3-6
    • 4.0.3-6ubuntu1
    • 4.0.3-7
    • 4.0.3-7ubuntu0.1
    • 4.0.3-7ubuntu0.2
    • 4.0.3-7ubuntu0.3
    • 4.0.3-7ubuntu0.4
    • 4.0.3-7ubuntu0.6
    • 4.0.3-7ubuntu0.7
    • 4.0.3-7ubuntu0.8
    • 4.0.3-7ubuntu0.9
    • 4.0.3-7ubuntu0.10
    • 4.0.3-7ubuntu0.11
    • 4.0.3-7ubuntu0.11+esm1
    • 4.0.3-7ubuntu0.11+esm2
    • 4.0.3-7ubuntu0.11+esm3
    • 4.0.3-7ubuntu0.11+esm4
    • 4.0.3-7ubuntu0.11+esm5
    • 4.0.3-7ubuntu0.11+esm6
    • 4.0.3-7ubuntu0.11+esm7
    • 4.0.3-7ubuntu0.11+esm8
    • 4.0.3-7ubuntu0.11+esm9
    • 4.0.3-7ubuntu0.11+esm10
    • 4.0.3-7ubuntu0.11+esm11
    • 4.0.3-7ubuntu0.11+esm12
    • 4.0.3-7ubuntu0.11+esm13
    • 4.0.3-7ubuntu0.11+esm14
    Affected ranges
    • ECOSYSTEM: < 4.0.3-7ubuntu0.11+esm15

    Update to 4.0.3-7ubuntu0.11+esm15

  • tiff Ubuntu:Pro:16.04:LTS

    Versions
    • 4.0.3-12.3ubuntu2
    • 4.0.5-1
    • 4.0.6-1
    • 4.0.6-1ubuntu0.1
    • 4.0.6-1ubuntu0.2
    • 4.0.6-1ubuntu0.3
    • 4.0.6-1ubuntu0.4
    • 4.0.6-1ubuntu0.5
    • 4.0.6-1ubuntu0.6
    • 4.0.6-1ubuntu0.7
    • 4.0.6-1ubuntu0.8
    • 4.0.6-1ubuntu0.8+esm1
    • 4.0.6-1ubuntu0.8+esm2
    • 4.0.6-1ubuntu0.8+esm3
    • 4.0.6-1ubuntu0.8+esm4
    • 4.0.6-1ubuntu0.8+esm6
    • 4.0.6-1ubuntu0.8+esm7
    • 4.0.6-1ubuntu0.8+esm8
    • 4.0.6-1ubuntu0.8+esm9
    • 4.0.6-1ubuntu0.8+esm10
    • 4.0.6-1ubuntu0.8+esm11
    • 4.0.6-1ubuntu0.8+esm12
    • 4.0.6-1ubuntu0.8+esm13
    • 4.0.6-1ubuntu0.8+esm14
    • 4.0.6-1ubuntu0.8+esm15
    • 4.0.6-1ubuntu0.8+esm16
    • 4.0.6-1ubuntu0.8+esm17
    Affected ranges
    • ECOSYSTEM: < 4.0.6-1ubuntu0.8+esm18

    Update to 4.0.6-1ubuntu0.8+esm18

  • tiff Ubuntu:Pro:18.04:LTS

    Versions
    • 4.0.8-5
    • 4.0.8-6
    • 4.0.9-1
    • 4.0.9-2
    • 4.0.9-3
    • 4.0.9-4
    • 4.0.9-4ubuntu1
    • 4.0.9-5
    • 4.0.9-5ubuntu0.1
    • 4.0.9-5ubuntu0.2
    • 4.0.9-5ubuntu0.3
    • 4.0.9-5ubuntu0.4
    • 4.0.9-5ubuntu0.5
    • 4.0.9-5ubuntu0.6
    • 4.0.9-5ubuntu0.7
    • 4.0.9-5ubuntu0.8
    • 4.0.9-5ubuntu0.9
    • 4.0.9-5ubuntu0.10
    • 4.0.9-5ubuntu0.10+esm1
    • 4.0.9-5ubuntu0.10+esm2
    • 4.0.9-5ubuntu0.10+esm3
    • 4.0.9-5ubuntu0.10+esm4
    • 4.0.9-5ubuntu0.10+esm5
    • 4.0.9-5ubuntu0.10+esm6
    • 4.0.9-5ubuntu0.10+esm7
    Affected ranges
    • ECOSYSTEM: < 4.0.9-5ubuntu0.10+esm8

    Update to 4.0.9-5ubuntu0.10+esm8

  • tiff Ubuntu:Pro:20.04:LTS

    Versions
    • 4.0.10+git191003-1
    • 4.1.0+git191117-1
    • 4.1.0+git191117-2
    • 4.1.0+git191117-2build1
    • 4.1.0+git191117-2ubuntu0.20.04.1
    • 4.1.0+git191117-2ubuntu0.20.04.2
    • 4.1.0+git191117-2ubuntu0.20.04.3
    • 4.1.0+git191117-2ubuntu0.20.04.4
    • 4.1.0+git191117-2ubuntu0.20.04.5
    • 4.1.0+git191117-2ubuntu0.20.04.6
    • 4.1.0+git191117-2ubuntu0.20.04.7
    • 4.1.0+git191117-2ubuntu0.20.04.8
    • 4.1.0+git191117-2ubuntu0.20.04.9
    • 4.1.0+git191117-2ubuntu0.20.04.10
    • 4.1.0+git191117-2ubuntu0.20.04.11
    • 4.1.0+git191117-2ubuntu0.20.04.12
    • 4.1.0+git191117-2ubuntu0.20.04.13
    • 4.1.0+git191117-2ubuntu0.20.04.14
    Affected ranges
    • ECOSYSTEM: < 4.1.0+git191117-2ubuntu0.20.04.14+esm1

    Update to 4.1.0+git191117-2ubuntu0.20.04.14+esm1

  • tiff Ubuntu:22.04:LTS

    Versions
    • 4.3.0-1
    • 4.3.0-2
    • 4.3.0-3
    • 4.3.0-3build1
    • 4.3.0-4
    • 4.3.0-5
    • 4.3.0-6
    • 4.3.0-6ubuntu0.1
    • 4.3.0-6ubuntu0.2
    • 4.3.0-6ubuntu0.3
    • 4.3.0-6ubuntu0.4
    • 4.3.0-6ubuntu0.5
    • 4.3.0-6ubuntu0.6
    • 4.3.0-6ubuntu0.7
    • 4.3.0-6ubuntu0.8
    • 4.3.0-6ubuntu0.9
    • 4.3.0-6ubuntu0.10
    Affected ranges
    • ECOSYSTEM: < 4.3.0-6ubuntu0.11

    Update to 4.3.0-6ubuntu0.11

  • tiff Ubuntu:24.04:LTS

    Versions
    • 4.5.1+git230720-1ubuntu1
    • 4.5.1+git230720-3ubuntu1
    • 4.5.1+git230720-4ubuntu1
    • 4.5.1+git230720-4ubuntu2
    • 4.5.1+git230720-4ubuntu2.1
    • 4.5.1+git230720-4ubuntu2.2
    Affected ranges
    • ECOSYSTEM: < 4.5.1+git230720-4ubuntu2.3

    Update to 4.5.1+git230720-4ubuntu2.3

Original sources

Check your server →