Description
The png_load function in lib/png.c in SWFTools 0.9.2 does not properly validate a multiplication of width and bits-per-pixel values, which allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file, as demonstrated by an erroneous png_load call that occurs because of incorrect integer data types in png2swf.
References (1)
Core 1
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/matthiaskramm/swftools/issues/50
Scores
CVSS v3
5.5
EPSS
0.0020
EPSS Percentile
42.1%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (1)
swftools/swftools
0.9.2
Published
Nov 12, 2017
Tracked Since
Feb 18, 2026