CVE-2019-12214
In FreeImage 3.18.0, an out-of-bounds access occurs because of mishandling of the OpenJPEG j2k_read_ppm_v3 function in j2k.c. The value of l_N_ppm comes from the file read in, and the code does not consider that l_N_ppm may be greater than the size of p_header_data.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | freeimage | Fix pending | UBUNTU-CVE-2019-12214 | |
| Ubuntu 26.04 | freeimage | Under investigation | UBUNTU-CVE-2019-12214 | |
| Ubuntu 25.10 | freeimage | Will not fix No fix available as of 2019-09-06. Patch code not available upstream as of 2025-01-16 | UBUNTU-CVE-2019-12214 | |
| Ubuntu 24.04 | freeimage | Under investigation | UBUNTU-CVE-2019-12214 | |
| Ubuntu 22.04 | freeimage | Under investigation | UBUNTU-CVE-2019-12214 | |
| Ubuntu 20.04 | freeimage | Will not fix No fix available as of 2019-09-06. Patch code not available upstream as of 2025-01-16 | UBUNTU-CVE-2019-12214 | |
| Ubuntu 18.04 | freeimage | Fix pending | UBUNTU-CVE-2019-12214 | |
| Ubuntu 16.04 | freeimage | Will not fix No fix available as of 2019-09-06. Patch code not available upstream as of 2025-01-16 | UBUNTU-CVE-2019-12214 | |
| Ubuntu 14.04 | freeimage | Fix pending | UBUNTU-CVE-2019-12214 | |
| Debian 13 | freeimage | Fix pending | DEBIAN-CVE-2019-12214 | |
| Debian 12 | freeimage | Fix pending | DEBIAN-CVE-2019-12214 |
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.