Skip to content

CVE-2018-16375 An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.

HighCVSS 8.8 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

An issue was discovered in OpenJPEG 2.3.0. Missing checks for header_info.height and header_info.width in the function pnmtoimage in bin/jpwl/convert.c can lead to a heap-based buffer overflow.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
debian/openjpeg2(Debian 12) < 2.3.1-1 2.3.1-1 Fixed
debian/openjpeg2(Debian 13) < 2.3.1-1 2.3.1-1 Fixed
debian/openjpeg2(Debian 14) < 2.3.1-1 2.3.1-1 Fixed
ubuntu/openjpeg2(Ubuntu Pro 18.04) < 2.3.0-2ubuntu0.1~esm1; = 2.2.0-1; = 2.3.0-1; = 2.3.0-2build0.18.04.1 2.3.0-2ubuntu0.1~esm1 Fixed
uclouvain openjpeg = 2.3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/openjpeg2(Debian:12) < 2.3.1-1 2.3.1-1
debian/openjpeg2(Debian:13) < 2.3.1-1 2.3.1-1
debian/openjpeg2(Debian:14) < 2.3.1-1 2.3.1-1
uclouvain openjpeg = 2.3.0 No fix listed
ubuntu/openjpeg2(Ubuntu:Pro:18.04) < 2.3.0-2ubuntu0.1~esm1 2.3.0-2ubuntu0.1~esm1
ubuntu/openjpeg2(Ubuntu:Pro:18.04) = 2.2.0-1 No fix listed
ubuntu/openjpeg2(Ubuntu:Pro:18.04) = 2.3.0-1 No fix listed
ubuntu/openjpeg2(Ubuntu:Pro:18.04) = 2.3.0-2build0.18.04.1 No fix listed

References