Heap-based buffer overflow in cups-filters - CVE-2015-3258

 

Heap-based buffer overflow in cups-filters - CVE-2015-3258

Published: July 14, 2015 / Updated: July 28, 2020


Vulnerability identifier: #VU32367
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-3258
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

cups-filters
Gentoo Linux
Fedora
cups-filters (Alpine package)
cups-filters

How to mitigate CVE-2015-3258

Update to version 1.0.70.

cups-filters - update to 1.0.70
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

Related Security Bulletins