Skip to content
Fencer Vulns
high 8.8

CVE-2019-5087 json

An exploitable integer overflow vulnerability exists in the flattenIncrementally function in the xcf2png and xcf2pnm binaries of xcftools 1…

published 2019-11-21 6 y ago modified 2026-06-17 4 mo ago also EUVD-2019-14692

cvss
8.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.6%
EPSS 3.6% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • xcftools Ubuntu 18.04 LTS 1.0.7-6ubuntu0.1
  • xcftools Ubuntu 20.04 LTS 1.0.7-6ubuntu0.20.04.1
  • xcftools Ubuntu Pro 16.04 LTS 1.0.7-5ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2019-5087

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Exploit prediction

3.64% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • talosintelligence.com https://talosintelligence.com/vulnerability_reports/TALOS-2019-0879 referenced PoC, tagged "exploit" by a source, unverified
  • talosintelligence.com https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0879 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • n/a xcftools

Classification

Weakness
  • CWE-680 Integer Overflow to Buffer Overflow
  • CWE-190 Integer Overflow or Wraparound
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.