CVE-2014-8166: Input Validation

Published Apr 4, 2014
·
Updated

It was reported that ANSI escape sequences could be added to printer names in CUPS. Becaue CUPS has a browsing feature that, when enabled, allows remote hosts to announce shared printers, a malicious host or user could send a specially-crafted UDP packet to a CUPS server announcing an arbitrary printer name that includes ANSI escape sequences. Since the CUPS daemon does not remove these characters, a user on the targeted system could query the printer list (using 'lpstat -a', for example). If this were done in a terminal that supported the ANSI escape sequences (like a terminal with support for color), then code execution could be possible as the terminal would interpret the ANSI escape sequences contained in the printer name.

Other sources

The browsing feature in the server in CUPS does not filter ANSI escape sequences from shared printer names, which might allow remote attackers to execute arbitrary code via a crafted printer name.

MITRE

Affected Software

1 affected component
cups CUPS<1.6

Event History

Apr 4, 2014
Data Sourced
via Red Hat·06:29 PM
DescriptionSeverityAffected Software
Jan 12, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2014-8166?

CVE-2014-8166 is classified as a medium severity vulnerability.

2

How do I fix CVE-2014-8166?

To fix CVE-2014-8166, update CUPS to version 1.6 or later.

3

What type of systems are affected by CVE-2014-8166?

CVE-2014-8166 affects systems running CUPS versions below 1.6.

4

How can CVE-2014-8166 be exploited?

CVE-2014-8166 can be exploited by a malicious user sending specially-crafted UDP packets to announce arbitrary printer names.

5

Is CUPS browsing feature related to CVE-2014-8166?

Yes, the vulnerability is related to the CUPS browsing feature that allows remote hosts to announce shared printers.

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