CVE-2018-20330

Published: 21 December 2018

The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled, as demonstrated by tjbench.

Priority

Low

CVSS 3 base score: 8.8

Status

Package Release Status
libjpeg-turbo
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 20.04 LTS (Focal Fossa)
Released (2.0.2-0ubuntu1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(1.5.2-0ubuntu5.18.04.1)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(1.4.2-0ubuntu3.1)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(1.3.0-0ubuntu2.1)
Ubuntu 12.04 ESM (Precise Pangolin) Not vulnerable

Patches:
Upstream: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3d9c64e9f8aa1ee954d1d0bb3390fc894bb84da3

Notes

AuthorNote
mdeslaur introduced by: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/aa7459050d7a50e1d8a99488902d41fbc118a50f

References

Bugs