Skip to content
Fencer Intel
high 7.5

CVE-2019-12212 json

When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper process…

published 7y ago modified 4mo ago also EUVD-2019-3857

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

When FreeImage 3.18.0 reads a special JXR file, the StreamCalcIFDSize function of JXRMeta.c repeatedly calls itself due to improper processing of the file, eventually causing stack exhaustion. An attacker can achieve a remote denial of service attack by sending a specially constructed file.

Patch / fix

  • freeimage Ubuntu 20.04 LTS 3.18.0+ds2-1ubuntu3.1
  • freeimage Ubuntu 22.04 LTS 3.18.0+ds2-6ubuntu5.1
  • freeimage Ubuntu 24.04 LTS 3.18.0+ds2-10build4
  • freeimage Ubuntu Pro 16.04 LTS 3.17.0+ds1-2ubuntu0.1+esm1
  • freeimage Ubuntu Pro 18.04 LTS 3.17.0+ds1-5+deb9u1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2019-12212

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

Is CVE-2019-12212 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-12212 updated cvss 2.8

freeimage: stack exhaustion in function StreamCalcIFDSize in JXRMeta.c

  • 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

1.90% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).

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.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel 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.