CVE-2020-14152
In IJG JPEG (aka libjpeg) before 9d, jpeg_mem_available() in jmemnobs.c in djpeg does not honor the max_memory_to_use setting, possibly causing excessive memory consumption.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has 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 | libjpeg6b | Fix pending | UBUNTU-CVE-2020-14152 | |
| Ubuntu 26.04 | libjpeg-turbo | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | libjpeg6b | Fix pending | UBUNTU-CVE-2020-14152 | |
| Ubuntu 26.04 | libjpeg9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libjpeg-turbo | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libjpeg6b | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | UBUNTU-CVE-2020-14152 | |
| Ubuntu 25.10 | libjpeg9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libjpeg-turbo | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libjpeg6b | Fix pending | UBUNTU-CVE-2020-14152 | |
| Ubuntu 24.04 | libjpeg9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libjpeg-turbo | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libjpeg6b | Fix pending | UBUNTU-CVE-2020-14152 | |
| Ubuntu 22.04 | libjpeg9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libjpeg-turbo | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libjpeg6b | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | UBUNTU-CVE-2020-14152 | |
| Ubuntu 20.04 | libjpeg9 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | libjpeg-turbo | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | libjpeg6b | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | UBUNTU-CVE-2020-14152 | |
| Ubuntu 18.04 | libjpeg9 | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | UBUNTU-CVE-2020-14152 | |
| Ubuntu 16.04 | libjpeg-turbo | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | 1.4.2-0ubuntu3.4+esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-14152 |
| Ubuntu 16.04 | libjpeg6b | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | 1:6b2-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-14152 |
| Ubuntu 16.04 | libjpeg9 | Will not fix looks like this was fixed a long time ago in libjpeg-turbo | 1:9b-1ubuntu1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-14152 |
| Ubuntu 14.04 | libjpeg-turbo | Fix pending | 1.3.0-0ubuntu2.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2020-14152 |
| Ubuntu 14.04 | libjpeg6b | Fix pending | 6b1-4ubuntu1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2020-14152 |
| Debian 14 | libjpeg-turbo | Fixed | 1:1.5.2-1 | DEBIAN-CVE-2020-14152 |
| Debian 13 | libjpeg-turbo | Fixed | 1:1.5.2-1 | DEBIAN-CVE-2020-14152 |
| Debian 12 | libjpeg-turbo | Fixed | 1:1.5.2-1 | DEBIAN-CVE-2020-14152 |
| Red Hat Enterprise Linux 8 | libjpeg-turbo | Not affected | ||
| Red Hat Enterprise Linux 8 | libjpeg-turbo-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libjpeg-turbo-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | turbojpeg | Not affected | ||
| Red Hat Enterprise Linux 8 | turbojpeg-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libjpeg-turbo | Not affected | ||
| Red Hat Enterprise Linux 7 | libjpeg-turbo-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libjpeg-turbo-static | Not affected | ||
| Red Hat Enterprise Linux 7 | libjpeg-turbo-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | turbojpeg | Not affected | ||
| Red Hat Enterprise Linux 7 | turbojpeg-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libjpeg-turbo | Not affected | ||
| Red Hat Enterprise Linux 6 | libjpeg-turbo-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libjpeg-turbo-static | Not affected | ||
| Red Hat Enterprise Linux 5 | libjpeg | Will not fix Out of support scope |
References
- https://bugs.gentoo.org/727908
- http://www.ijg.org/files/jpegsrc.v9d.tar.gz
- https://lists.debian.org/debian-lts-announce/2020/07/msg00033.html
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.