CVE-2013-6475: Buffer Overflow

Published Nov 7, 2013
·
Updated

Multiple integer overflows in (1) OPVPOutputDev.cxx and (2) oprs/OPVPSplash.cxx in the pdftoopvp filter in CUPS and cups-filters before 1.0.47 allow remote attackers to execute arbitrary code via a crafted PDF file, which triggers a heap-based buffer overflow.

Other sources

Previously, the pdftoopvp filter used gmalloc for memory allocations. This could result in integer overflow flaws, leading to heap-based buffer overflows. If a malicious PDF file were processed, it could lead to arbitrary code execution with the privileges of the "lp" user. The following patch introduces the use of gmallocn and gmallocn3, which attempt to check for integer overflows:

http://cgit.freedesktop.org/poppler/poppler/commit/?id=7b2d314a61fd0e12f47c62996cb49ec0d1ba747a

Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Red Hat

Affected Software

55 affected componentsFixes available
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=12.10
Canonical Ubuntu Linux=13.10
Debian Debian Linux
Fedoraproject Fedora
linuxfoundation cups-filters<=1.0.46
linuxfoundation cups-filters=1.0
linuxfoundation cups-filters=1.0.1
linuxfoundation cups-filters=1.0.2
linuxfoundation cups-filters=1.0.3
linuxfoundation cups-filters=1.0.4
linuxfoundation cups-filters=1.0.5
linuxfoundation cups-filters=1.0.6
linuxfoundation cups-filters=1.0.7
linuxfoundation cups-filters=1.0.8
linuxfoundation cups-filters=1.0.9
linuxfoundation cups-filters=1.0.10
linuxfoundation cups-filters=1.0.11
linuxfoundation cups-filters=1.0.12
linuxfoundation cups-filters=1.0.13
linuxfoundation cups-filters=1.0.14
linuxfoundation cups-filters=1.0.15
linuxfoundation cups-filters=1.0.16
linuxfoundation cups-filters=1.0.17
linuxfoundation cups-filters=1.0.18
linuxfoundation cups-filters=1.0.19
linuxfoundation cups-filters=1.0.20
linuxfoundation cups-filters=1.0.21
linuxfoundation cups-filters=1.0.22
linuxfoundation cups-filters=1.0.23
linuxfoundation cups-filters=1.0.24
linuxfoundation cups-filters=1.0.25
linuxfoundation cups-filters=1.0.26
linuxfoundation cups-filters=1.0.27
linuxfoundation cups-filters=1.0.28
linuxfoundation cups-filters=1.0.29
linuxfoundation cups-filters=1.0.30
linuxfoundation cups-filters=1.0.31
linuxfoundation cups-filters=1.0.32
linuxfoundation cups-filters=1.0.33
linuxfoundation cups-filters=1.0.34
linuxfoundation cups-filters=1.0.35
linuxfoundation cups-filters=1.0.36
linuxfoundation cups-filters=1.0.37
linuxfoundation cups-filters=1.0.38
linuxfoundation cups-filters=1.0.39
linuxfoundation cups-filters=1.0.40
linuxfoundation cups-filters=1.0.41
linuxfoundation cups-filters=1.0.42
linuxfoundation cups-filters=1.0.43
linuxfoundation cups-filters=1.0.44
linuxfoundation cups-filters=1.0.45
debian/cups
2.3.3op2-3+deb11u82.3.3op2-3+deb11u92.4.2-3+deb12u82.4.10-2
debian/cups-filters
1.28.7-1+deb11u21.28.7-1+deb11u31.28.17-3+deb12u11.28.17-6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cups to a version that resolves this vulnerability.

    Fixed in 2.3.3op2-3+deb11u8Fixed in 2.3.3op2-3+deb11u9Fixed in 2.4.2-3+deb12u8Fixed in 2.4.10-2
  2. Upgrade

    Upgrade debian/cups-filters to a version that resolves this vulnerability.

    Fixed in 1.28.7-1+deb11u2Fixed in 1.28.7-1+deb11u3Fixed in 1.28.17-3+deb12u1Fixed in 1.28.17-6
  3. Upgrade

    Upgrade cups-filters/pdftoopvp filter to a version that resolves this vulnerability.

    Fixed in 1.0.47

Event History

Nov 7, 2013
Data Sourced
via Red Hat·04:22 AM
DescriptionSeverityAffected Software
Mar 14, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:55 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-6475?

CVE-2013-6475 has a high severity due to its potential to allow remote attackers to execute arbitrary code via crafted PDF files.

2

How do I fix CVE-2013-6475?

To fix CVE-2013-6475, you should upgrade to the latest versions of cups or cups-filters that are patched for this vulnerability.

3

What software is affected by CVE-2013-6475?

CVE-2013-6475 affects versions of cups and cups-filters prior to 1.0.47.

4

Can CVE-2013-6475 be exploited remotely?

Yes, CVE-2013-6475 can be exploited remotely through specially crafted PDF files.

5

What type of vulnerability is CVE-2013-6475?

CVE-2013-6475 is classified as an integer overflow vulnerability leading to a heap-based buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203