CVE-2017-2579

NameCVE-2017-2579
DescriptionAn out-of-bounds read vulnerability was found in netpbm before 10.61. The expandCodeOntoStack() function has an insufficient code value check, so that a maliciously crafted file could cause the application to crash or possibly allows code execution.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs854978

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
netpbm-free (PTS)jessie2:10.0-15.2fixed
buster, stretch2:10.0-15.3fixed
bullseye2:10.0-15.4fixed
bookworm2:11.01.00-2fixed
trixie2:11.05.02-1fixed
sid2:11.05.03-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
netpbm-freesourcejessie(not affected)
netpbm-freesourcestretch(not affected)
netpbm-freesourcebuster(not affected)
netpbm-freesourcebullseye(not affected)
netpbm-freesource(unstable)2:10.97.00-1854978

Notes

[bullseye] - netpbm-free <not-affected> (Legacy fork not affected)
[buster] - netpbm-free <not-affected> (Legacy fork not affected)
[stretch] - netpbm-free <not-affected> (Legacy fork not affected)
[jessie] - netpbm-free <not-affected> (pnm/giftopnm.c rewritten, PoC triggers clean application error handling)
Debian uses an old fork of netpbm
https://www.openwall.com/lists/oss-security/2017/02/05/7
https://bugzilla.suse.com/show_bug.cgi?id=1024288 (reproducer)
Possible fix: https://sourceforge.net/p/netpbm/code/2821 (10.47.63)

Search for package or bug name: Reporting problems