The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the getwordrgb_row function in rdppm.c.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo-progs" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo-progs-dbgsym" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo-test" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo-test-dbgsym" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo8" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo8-dbg" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libjpeg-turbo8-dev" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libturbojpeg" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libturbojpeg-dbgsym" }, { "binary_version": "2.0.3-0ubuntu1.20.04.3", "binary_name": "libturbojpeg0-dev" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo-progs" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo-progs-dbgsym" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo-test" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo-test-dbgsym" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo8" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo8-dbg" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libjpeg-turbo8-dev" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libturbojpeg" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libturbojpeg-dbgsym" }, { "binary_version": "2.1.2-0ubuntu1", "binary_name": "libturbojpeg0-dev" } ] }