7.8
CWE
119 787
Advisory Published
CVE Published
Updated

CVE-2016-3991: Buffer Overflow

First published: Tue Apr 12 2016(Updated: )

An Out-of-bounds write vulnerability caused by heap overflow when using tiffcrop tool was found in the libtiff library. The vulnerability is in loadImage() function in tiffcrop.c. loadImage() will read the numbers of tiles by calling TIFFNumberOfTiles(). However, if the numbers of tiles is 0, loadImage() will still read tile data by calling readContigTilesIntoBuffer() from the image, regardless of the numbers. In that case, loadImage() will allocate 3 bytes in the heap to store a tile data. This creates a potential attack vector via crafted tiff tiles, which may result in DoS or code execution. Upstream bug report: <a href="http://bugzilla.maptools.org/show_bug.cgi?id=2543">http://bugzilla.maptools.org/show_bug.cgi?id=2543</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/tiff
4.1.0+git191117-2~deb10u4
4.1.0+git191117-2~deb10u8
4.2.0-1+deb11u4
4.5.0-6
4.5.1+git230720-1
Oracle VM Server=3.3
Oracle VM Server=3.4
Libtiff Libtiff<=4.0.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203