Stack-based Buffer Overflow Affecting cairo-gobject package, versions <0:1.15.12-3.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.56% (79th 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-RHEL7-CAIROGOBJECT-8144160
  • published2 Oct 2024
  • 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 RHEL:7 cairo-gobject to version 0:1.15.12-3.el7 or higher.
This issue was patched in RHSA-2018:3140.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cairo-gobject package and not the cairo-gobject package as distributed by RHEL. See How to fix? for RHEL: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.