{"schemaVersion":3,"id":"CVE-2019-12213","aliases":["UBUNTU-CVE-2019-12213","DEBIAN-CVE-2019-12213"],"status":"published","duplicateOf":null,"title":null,"description":"When FreeImage 3.18.0 reads a special TIFF file, the TIFFReadDirectory function in PluginTIFF.cpp always returns 1, leading to stack exhaustion.","dates":{"published":"2019-05-20T15:05:25.000Z","modified":"2024-08-04T23:17:38.226Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.022,"percentile":0.82351,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.022},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.022,"percentile":0.82351}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.022,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.022,"percentile":0.82351}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_690252A513466C86","name":"Exploit Reference (sourceforge.net)","source":"reference","url":"https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-674","name":"Uncontrolled Recursion","description":"The product does not properly control the amount of recursion that takes place,  consuming excessive resources, such as allocated memory or the program stack.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/674.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"18.04","eol":{"isEol":true,"eolDate":"2023-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"18.04","label":"18.04 'Bionic Beaver' (LTS)","eolFrom":"2023-05-31T00:00:00.000Z","isLts":true,"isMaintained":true,"latestVersion":"18.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"freeimage","name":"freeimage","label":"freeimage","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/freeimage","purlType":"deb","versions":[{"text":"< 3.18.0+ds2-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.18.0+ds2-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"freeimage","name":"freeimage","label":"freeimage","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/freeimage","purlType":"deb","versions":[{"text":"< 3.15.4-3ubuntu0.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.17.0+ds1-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.17.0+ds1-5+deb9u1build0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.18.0+ds2-1ubuntu3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.15.4-3ubuntu0.1+esm2 | < 3.17.0+ds1-2ubuntu0.1+esm1 | < 3.17.0+ds1-5+deb9u1build0.18.04.1 | < 3.18.0+ds2-1ubuntu3.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0 | 10.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"30","noFixRecorded":false,"fixedIn":null},{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"30 | 31","eol":{"isEol":true,"eolDate":"2020-05-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"30","label":"30","eolFrom":"2020-05-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"freeimage_project","product":"freeimage","name":"freeimage","label":"freeimage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.18.0","eol":null,"hubHref":"/vendor/freeimage_project/freeimage"}],"affectedCount":6,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/","label":"sourceforge.net/p/freeimage/discussion/36111/thread/e06734bed5/","hostname":"sourceforge.net","tags":["X Refsource MISC","Exploit","Third Party Advisory","REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUWVVP67FYM4GMWD7TPQ7C7JPPRUZHYE/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VZ7KBYPPNRMX7RRWVJSX4T63E3TFB6TG/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/12/msg00012.html","label":"lists.debian.org/debian-lts-announce/2019/12/msg00012.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.debian.org/security/2019/dsa-4593","label":"www.debian.org/security/2019/dsa-4593","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://seclists.org/bugtraq/2019/Dec/45","label":"seclists.org/bugtraq/2019/Dec/45","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4529-1/","label":"usn.ubuntu.com/4529-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202107-02","label":"security.gentoo.org/glsa/202107-02","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-12213","label":"ubuntu.com/security/CVE-2019-12213","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4529-1","label":"ubuntu.com/security/notices/USN-4529-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6586-1","label":"ubuntu.com/security/notices/USN-6586-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12213","label":"www.cve.org/CVERecord?id=CVE-2019-12213","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-12213","label":"security-tracker.debian.org/tracker/CVE-2019-12213","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2031-1","DSA-4593-1","MGASA-2020-0019","OPENSUSE-SU-2024:10766-1","USN-4529-1","USN-6586-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10766-1","USN-4529-1","USN-6586-1"]},"timeline":[{"kind":"published","date":"2019-05-20T15:05:25.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T23:17:38.226Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:03:00.621Z","stale":false,"partial":false}}