Heap-based buffer overflow in cups-filters - CVE-2015-3258
Published: July 14, 2015 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the WriteProlog function in filter/texttopdf.c in texttopdf in cups-filters before 1.0.70. A remote attacker can use a small line size in a print job. to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Fedora
cups-filters (Alpine package)
cups-filters
How to mitigate CVE-2015-3258
cups-filters (Alpine package) - update to 1.0.61-r2
cups-filters - addressed in versions 1.0.71-1.fc21, 1.0.71-1.fc22
External References
- http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7363
- http://lists.opensuse.org/opensuse-updates/2015-07/msg00033.html
- http://rhn.redhat.com/errata/RHSA-2015-2360.html
- http://ubuntu.com/usn/usn-2659-1
- http://www.debian.org/security/2015/dsa-3303
- http://www.openwall.com/lists/oss-security/2015/06/26/4
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://www.securityfocus.com/bid/75436
- https://bugzilla.redhat.com/show_bug.cgi?id=1235385
- https://security.gentoo.org/glsa/201510-08