CVE-2017-6961 Denial of service in n/a
Attackers can cause a crash in apng2gif by providing a malicious PNG file that triggers excessive memory allocation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-6961?
CVE-2017-6961 is a medium-severity denial of service vulnerability in n/a, published on 17 Mar 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An issue was discovered in apng2gif 1.7. There is improper sanitization of user input causing huge memory allocations, resulting in a crash. This is related to the read_chunk function using the pChunk->size value (within the PNG file) to determine the amount of memory to allocate.
Weakness: CWE-20
Which versions are affected by CVE-2017-6961?
It affects 1 product.
Products include Apng2gif Project Apng2gif.
How do I fix CVE-2017-6961?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2017-6961 being exploited?
There is no known exploitation of CVE-2017-6961 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2017-6961, GHSA-hqvw-jgm8-f4v5, UBUNTU-CVE-2017-6961.