cve/2017/CVE-2017-16794.md
2024-06-18 02:51:15 +02:00

18 lines
862 B
Markdown

### [CVE-2017-16794](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16794)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/matthiaskramm/swftools/issues/50
#### Github
- https://github.com/andir/nixos-issue-db-example