Out-of-bounds write in OpenJPEG - CVE-2017-14040
Published: August 31, 2017 / Updated: August 3, 2020
Vulnerability identifier: #VU33225
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-14040
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: openjpeg.org
Affected software:
OpenJPEG
OpenJPEG
Detailed vulnerability description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
An invalid write access was discovered in bin/jp2/convert.c in OpenJPEG 2.2.0, triggering a crash in the tgatoimage function. The vulnerability may lead to remote denial of service or possibly unspecified other impact.
How to mitigate CVE-2017-14040
Install update from vendor's website.
Sources
- http://www.debian.org/security/2017/dsa-4013
- http://www.securityfocus.com/bid/100553
- https://blogs.gentoo.org/ago/2017/08/28/openjpeg-invalid-memory-write-in-tgatoimage-convert-c/
- https://github.com/uclouvain/openjpeg/commit/2cd30c2b06ce332dede81cccad8b334cde997281
- https://github.com/uclouvain/openjpeg/issues/995