Skip to content
Fencer Vulns
medium 6.5

CVE-2019-12213 json

When FreeImage 3.18.0 reads a special TIFF file, the TIFFReadDirectory function in PluginTIFF.cpp always returns 1, leading to stack exhaus…

published 2019-05-20 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-3858

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.2%
EPSS 2.2% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

When FreeImage 3.18.0 reads a special TIFF file, the TIFFReadDirectory function in PluginTIFF.cpp always returns 1, leading to stack exhaustion.

Patch / fix

  • freeimage Debian 13, Debian 12 3.18.0+ds2-3

debian advisories DEBIAN-CVE-2019-12213

  • freeimage Ubuntu 18.04 LTS 3.17.0+ds1-5+deb9u1build0.18.04.1
  • freeimage Ubuntu 20.04 LTS 3.18.0+ds2-1ubuntu3.1
  • freeimage Ubuntu Pro 14.04 LTS 3.15.4-3ubuntu0.1+esm2
  • freeimage Ubuntu Pro 16.04 LTS 3.17.0+ds1-2ubuntu0.1+esm1

ubuntu advisories UBUNTU-CVE-2019-12213

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • freeimage openSUSE Tumbleweed 3.18.0-4.4

opensuse advisories openSUSE-SU-2024:10766-1

  • freeimage Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 3.18.0-r2

alpine advisories ALPINE-CVE-2019-12213

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-12213 updated cvss 4.0

freeimage: stack exhaustion in function TIFFReadDirectory in PluginTIFF.cpp

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.20% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.