Heap-Based Buffer Over-Read in TIFF Package: CVE-2018-10779

tiff Updated 02 Oct 2025

Summary

07/05/2018
N/A
Yes i
Medium
6.5

ALPINE-CVE-2018-10779: TIFFWriteScanline in tif_write.c in LibTIFF 3.8.2 has a heap-based buffer over-read, as demonstrated by bmp2tiff. Affects tiff versions < 4.0.9-r8. Fixed in 4.0.9-r8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The TIFF package is a widely used library for handling Tagged Image File Format (TIFF) images, which are commonly utilized in various applications for storing high-quality images. This package provides functionalities for reading and writing TIFF files, making it essential for image processing tasks. However, it has been identified to have a critical vulnerability that can lead to severe security issues.

Vulnerability Detail

The vulnerability, identified as CVE-2018-10779, originates from a flaw in the TIFFWriteScanline function within the tif_write.c file of the LibTIFF library version 3.8.2. This flaw allows for a heap-based buffer over-read, which can potentially lead to unauthorized access to sensitive data or application crashes. Attackers can exploit this vulnerability by crafting specific input files, which may result in data leakage or application instability.

How To Fix

Minimum fixed version

4.0.9-r8

This is the first release that contains the fix.

sudo apk add --upgrade tiff

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you may consider restricting access to the TIFF processing functionalities or validating input files more rigorously to prevent exploitation until the package can be updated.

Conclusion

In summary, CVE-2018-10779 represents a significant vulnerability in the TIFF package that can lead to serious security implications. It is crucial to update to the patched version to mitigate risks associated with this vulnerability. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for tiff →

Share this vulnerability

FAQ

CVE-2018-10779 is a vulnerability in the TIFF package that allows for a heap-based buffer over-read, potentially leading to data leakage or application crashes.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of CVE-2018-10779 is 6.5, indicating a medium severity level.

If immediate updates are not possible, consider implementing stricter input validation or limiting access to the TIFF functionalities as a temporary measure.

You can find more information about the TIFF package and its functionalities in the official documentation or repositories related to the LibTIFF library.

Related vulnerabilities

Recent vulnerabilities recorded for tiff.

How To Fix

Minimum fixed version

4.0.9-r8

This is the first release that contains the fix.

sudo apk add --upgrade tiff

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback