CVE-2013-0859

The add_doubles_metadata function in libavcodec/tiff.c in FFmpeg before 1.1 allows remote attackers to have an unspecified impact via a negative or zero count…

published December 7, 2013

CVSS
—
EPSS
2%
Percentile
81.7
In the wild
Unconfirmed
What it is

⚠️ A sneaky out-of-bounds array access lurks in the TIFF handling code of FFmpeg! Only a negative or zero count value is needed to exploit this vulnerability. 🔍 Think of a restaurant that prepares meals based on orders where the kitchen mistakenly accepts a negative number of dishes, leading to chaotic empty plates. That's exactly what happens here when the library tries to access memory it shouldn't. While not immediately known to be exploited, this vulnerability could lead to unexpected behavior in applications that handle TIFF images. In the worst-case scenario, it could crash your application, impacting user experience.

Put simply

Think of a restaurant that prepares meals based on orders where the kitchen mistakenly accepts a negative number of dishes, leading to chaotic empty plates. That's exactly what happens here when the library tries to access memory it shouldn't. The add_doubles_metadata function in libavcodec/tiff.c of FFmpeg versions before 1.1 mishandles negative or zero count values, causing an out-of-bounds access in arrays. This could lead to unpredictable application behavior or crashes.

What to do

While not immediately known to be exploited, this vulnerability could lead to unexpected behavior in applications that handle TIFF images. In the worst-case scenario, it could crash your application, impacting user experience. Update to FFmpeg version 1.1 or later to patch this vulnerability. It's also a good idea to audit how TIFF images are processed in your applications to ensure safe handling of image metadata. You've got this! With these steps, you can keep your applications safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02115 · 81.7th percentile
Published
2013-12-07T21:00Z
EPSS history
Timeline
  • 07 DEC 21:00Z
    The add_doubles_metadata function in libavcodec/tiff.c in FFmpeg before 1.1 allows remote attackers to have an unspecified impact via a negative or zero count…
    cvelistv5