CVE catalog

CVE-2019-12213

freeimage affected and fixed versions

[CVE catalog]

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

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.20% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixiefreeimage3.18.0+ds2-11Fixed[CVE-2019-12213]
Debiantrixiefreeimage3.18.0+ds2-3FixedDistribution-reported fixed boundary[CVE-2019-12213]
Debiansidfreeimage3.18.0+ds2-11Fixed[CVE-2019-12213]
Debiansidfreeimage3.18.0+ds2-3FixedDistribution-reported fixed boundary[CVE-2019-12213]
Debianbookworm-securityfreeimage3.18.0+ds2-9+deb12u1Fixed[CVE-2019-12213]
Debianbookwormfreeimage3.18.0+ds2-3FixedDistribution-reported fixed boundary[CVE-2019-12213]
Debianbookwormfreeimage3.18.0+ds2-9+deb12u1Fixed[CVE-2019-12213]

Showing 7 fix observations. All 19 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormfreeimage3.18.0+ds2-3FixedDistribution-reported fixed boundary[CVE-2019-12213]
Debianbookwormfreeimage3.18.0+ds2-9+deb12u1Fixed[CVE-2019-12213]
Debianbookworm-securityfreeimage3.18.0+ds2-9+deb12u1Fixed[CVE-2019-12213]
Debiansidfreeimage3.18.0+ds2-11Fixed[CVE-2019-12213]
Debiansidfreeimage3.18.0+ds2-3FixedDistribution-reported fixed boundary[CVE-2019-12213]
Debiantrixiefreeimage3.18.0+ds2-11Fixed[CVE-2019-12213]
Debiantrixiefreeimage3.18.0+ds2-3FixedDistribution-reported fixed boundary[CVE-2019-12213]
Ubuntu18.04freeimage3.17.0+ds1-5+deb9u1build0.18.04.1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntu18.04freeimage3.17.0+ds1-5build2UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntu20.04freeimage3.18.0+ds2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntu20.04freeimage3.18.0+ds2-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntu20.04freeimage3.18.0+ds2-1ubuntu3UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntu20.04freeimage3.18.0+ds2-1ubuntu3.1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntuprofreeimage3.15.4-4.1build1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntuprofreeimage3.15.4-6UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntuprofreeimage3.17.0+ds1-1.1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntuprofreeimage3.17.0+ds1-2UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntuprofreeimage3.17.0+ds1-2ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Ubuntuprofreeimage3.17.0+ds1-2ubuntu0.1+esm1UnknownSource applicability is not established[UBUNTU-CVE-2019-12213]
Original provider fields
{
  "package_releases": [
    {
      "name": "freeimage",
      "status": "fixed",
      "release": "sid",
      "version": "3.18.0+ds2-11"
    },
    {
      "name": "freeimage",
      "status": "fixed",
      "release": "trixie",
      "version": "3.18.0+ds2-11"
    },
    {
      "name": "freeimage",
      "status": "fixed",
      "release": "bookworm",
      "version": "3.18.0+ds2-9+deb12u1"
    },
    {
      "name": "freeimage",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "3.18.0+ds2-9+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 929597,
      "name": "freeimage",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "3.18.0+ds2-3"
    },
    {
      "bug": 929597,
      "name": "freeimage",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "3.18.0+ds2-3"
    },
    {
      "bug": 929597,
      "name": "freeimage",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "3.18.0+ds2-3"
    }
  ],
  "distribution_packages": [
    {
      "name": "freeimage",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.17.0+ds1-2ubuntu0.1+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "3.15.4-4.1build1",
        "3.15.4-6",
        "3.17.0+ds1-1.1",
        "3.17.0+ds1-2",
        "3.17.0+ds1-2ubuntu0.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-12213",
      "fixed_version": "3.17.0+ds1-2ubuntu0.1+esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2019-12213",
      "provider_updated_at": "2026-04-22T12:08:05.535096Z",
      "applicability_unknown": true
    },
    {
      "name": "freeimage",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.17.0+ds1-5+deb9u1build0.18.04.1"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "3.17.0+ds1-5build2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-12213",
      "fixed_version": "3.17.0+ds1-5+deb9u1build0.18.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2019-12213",
      "provider_updated_at": "2026-04-22T12:08:05.535096Z",
      "applicability_unknown": true
    },
    {
      "name": "freeimage",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.18.0+ds2-1ubuntu3.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "3.18.0+ds2-1ubuntu1",
        "3.18.0+ds2-1ubuntu2",
        "3.18.0+ds2-1ubuntu3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2019-12213",
      "fixed_version": "3.18.0+ds2-1ubuntu3.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2019-12213",
      "provider_updated_at": "2026-04-22T12:08:05.535096Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #929597]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libfreeimage3]Unknown

    Source package: [freeimage]

    Details (4)
    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

  • Source package: [freeimage]

    Details (4)
    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

  • Source package: [freeimage]

    Details (4)
    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

  • Source package: [freeimage]

    Details (4)
    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

  • Source package: [freeimage]

    Details (4)
    • 3.18.0+ds2-9+deb12u1 · all · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · all · bookworm

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

    • 3.18.0+ds2-9+deb12u1 · all · bookworm-security

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · bookworm; dsa · freeimage · debian · 12

[Debian 13 (Trixie)]

  • [libfreeimage3]Unknown

    Source package: [freeimage]

    Details (2)
    • 3.18.0+ds2-11 · amd64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

    • 3.18.0+ds2-11 · arm64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

  • Source package: [freeimage]

    Details (2)
    • 3.18.0+ds2-11 · amd64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

    • 3.18.0+ds2-11 · arm64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

  • Source package: [freeimage]

    Details (2)
    • 3.18.0+ds2-11 · amd64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

    • 3.18.0+ds2-11 · arm64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

  • Source package: [freeimage]

    Details (2)
    • 3.18.0+ds2-11 · amd64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

    • 3.18.0+ds2-11 · arm64 · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

  • Source package: [freeimage]

    Details (2)
    • 3.18.0+ds2-11 · all · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

    • 3.18.0+ds2-11 · all · trixie

      Fixed · Fixed: 3.18.0+ds2-3

      dsa · freeimage · debian · 13

Observed:

References