Integer Overflow or Wraparound Affecting libgsf package, versions <1.14.51-2ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.05% (25th 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-UBUNTU2404-LIBGSF-8163341
  • published10 Oct 2024
  • disclosed3 Oct 2024

Introduced: 3 Oct 2024

CVE-2024-42415  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 libgsf to version 1.14.51-2ubuntu0.1 or higher.

NVD Description

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

An integer overflow vulnerability exists in the Compound Document Binary File format parser of v1.14.52 of the GNOME Project G Structured File Library (libgsf). A specially crafted file can result in an integer overflow that allows for a heap-based buffer overflow when processing the sector allocation table. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.

CVSS Scores

version 3.1