CVE-2017-6961

NameCVE-2017-6961
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs854441

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
apng2gif (PTS)wheezy1.5-1fixed
jessie1.5-3fixed
stretch, sid1.7-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
apng2gifsource(unstable)(unfixed)medium854441
apng2gifsourcejessie(not affected)
apng2gifsourcewheezy(not affected)

Notes

[jessie] - apng2gif <not-affected> (Vulnerable code introduced later with refactoring)
[wheezy] - apng2gif <not-affected> (Vulnerable code introduced later with refactoring)

Search for package or bug name: Reporting problems