CWE
189 119
Advisory Published
Updated

CVE-2007-5849: Buffer Overflow

First published: Wed Dec 19 2007(Updated: )

Integer underflow in the asn1_get_string function in the SNMP back end (backend/snmp.c) for CUPS 1.2 through 1.3.4 allows remote attackers to execute arbitrary code via a crafted SNMP response that triggers a stack-based buffer overflow.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Apple iOS and macOS=10.5.1
CUPS (Common UNIX Printing System)=1.2.4
CUPS (Common UNIX Printing System)=1.2.9
CUPS (Common UNIX Printing System)=1.2.10
CUPS (Common UNIX Printing System)=1.2.12
CUPS (Common UNIX Printing System)=1.3.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-5849?

    CVE-2007-5849 is considered a critical vulnerability due to its potential for remote code execution.

  • How do I fix CVE-2007-5849?

    To fix CVE-2007-5849, you should upgrade to a non-vulnerable version of CUPS.

  • Which versions of CUPS are affected by CVE-2007-5849?

    CVE-2007-5849 affects CUPS versions 1.2.4 through 1.3.4.

  • Can CVE-2007-5849 be exploited remotely?

    Yes, CVE-2007-5849 can be exploited remotely via crafted SNMP responses.

  • What types of attacks can be executed via CVE-2007-5849?

    CVE-2007-5849 can lead to stack-based buffer overflows that may allow arbitrary code execution.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203