Stack-based Buffer Overflow Affecting turbojpeg package, versions <0:1.2.90-6.el7


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.49% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-TURBOJPEG-2116386
  • published26 Jul 2021
  • disclosed5 May 2018

Introduced: 5 May 2018

CVE-2018-10767  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Centos:7 turbojpeg to version 0:1.2.90-6.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream turbojpeg package and not the turbojpeg package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

There is a stack-based buffer over-read in calling GLib in the function gxps_images_guess_content_type of gxps-images.c in libgxps through 0.3.0 because it does not reject negative return values from a g_input_stream_read call. A crafted input will lead to a remote denial of service attack.