CVE-2007-5849

Summary

CVECVE-2007-5849
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-12-19 21:46:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionInteger 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.

Risk And Classification

Primary CVSS: v2.0 9.3 from [email protected]

AV:N/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Apple Mac Os X 10.5.1 All All All
Application Easy Software Products Cups 1.2.10 All All All
Application Easy Software Products Cups 1.2.12 All All All
Application Easy Software Products Cups 1.2.4 All All All
Application Easy Software Products Cups 1.2.9 All All All
Application Easy Software Products Cups 1.3.3 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Gentoo Linux Documentation -- CUPS: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org
Security Announcement af854a3a-2127-422b-91ae-364da2661108 www.novell.com
CUPS SNMP Backend "asn1_get_string()" Signedness Vulnerability - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
US-CERT Technical Cyber Security Alert TA07-352A -- Apple Updates for Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov US Government Resource
SNMP backend integer underflow/stack overflow in asn1_get_string() · Issue #2589 · apple/cups · GitHub af854a3a-2127-422b-91ae-364da2661108 www.cups.org
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
APPLE-SA-2007-12-17 Security Update 2007-009 af854a3a-2127-422b-91ae-364da2661108 lists.apple.com
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Vendor Advisory
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
About Security Update 2007-009 af854a3a-2127-422b-91ae-364da2661108 docs.info.apple.com
Gentoo update for cups - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Fedora 8 Update: cups-1.3.5-2.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Apple Mac OS X v10.5.1 2007-009 Multiple Security Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Debian -- Security Information -- DSA-1437-1 cupsys af854a3a-2127-422b-91ae-364da2661108 www.debian.org
[security-announce] SUSE Security Announcement: cups (SUSE-SA:2008:002) af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
SUSE update for cups - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Ubuntu update for cups - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
USN-563-1: CUPS vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Debian update for cupsys - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Common UNIX Printing System SNMP 'asn1_get_string()' Remote Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Gentoo Bug 201570 - net-print/cups < 1.2.12-r4 SNMP backend buffer overflow (CVE-2007-5849) af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Apple Mac OS X Security Update Fixes Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Fedora update for cups - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-01-02Joshua BressersNot vulnerable. This flaw does not affect the version of CUPS shipped in Red Hat Enterprise Linux 3 or 4. After a detailed analysis of this flaw, it has been determined it does not pose a security threat on Red Hat Enterprise Linux 5. For more details regarding this analysis, please see: https://bugzilla.redhat.com/show_bug.cgi?id=415131
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report