Integer Overflow or Wraparound Affecting xcftools package, versions <1.0.7-6ubuntu0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
3.64% (89th 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-UBUNTU2004-XCFTOOLS-1154575
  • published28 Mar 2023
  • disclosed21 Nov 2019

Introduced: 21 Nov 2019

CVE-2019-5087  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 xcftools to version 1.0.7-6ubuntu0.20.04.1 or higher.

NVD Description

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

An exploitable integer overflow vulnerability exists in the flattenIncrementally function in the xcf2png and xcf2pnm binaries of xcftools 1.0.7. An integer overflow can occur while calculating the row's allocation size, that could be exploited to corrupt memory and eventually execute arbitrary code. In order to trigger this vulnerability, a victim would need to open a specially crafted XCF file.

CVSS Base Scores

version 3.1