Integer overflow in Swftools

CVE-2017-16797

In SWFTools 0.9.2, the png_load function in lib/png.c does not properly validate an alloclen_64 multiplication of width and height values, which allows remote attackers to cause a denial of service (integer overflow, heap-based buffer overflow, and application crash) or possibly have unspecified other impact via a crafted PNG file.

Vulnerability class: Integer Overflow

EPSS: 0.012 (64.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

  • Swftools — versions 0.9.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)

Frequently asked questions

What is CVE-2017-16797?
CVE-2017-16797 is a high-severity vulnerability in Swftools, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2017-11-12.
How severe is CVE-2017-16797?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2017-16797 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.