{"id":"CVE-2007-5849","state":"PUBLISHED","title":"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 S","description":"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.","publishedAt":"2007-12-19T21:00:00.000Z","updatedAt":"2024-08-07T15:47:00.628Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.cups.org/str.php?L2589","https://exchange.xforce.ibmcloud.com/vulnerabilities/39101","http://www.vupen.com/english/advisories/2007/4238","http://www.us-cert.gov/cas/techalerts/TA07-352A.html","http://secunia.com/advisories/28129","http://www.novell.com/linux/security/advisories/suse_security_summary_report.html","http://secunia.com/advisories/28441","http://secunia.com/advisories/28136","http://secunia.com/advisories/28113","http://secunia.com/advisories/28200","http://www.ubuntu.com/usn/usn-563-1","http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml","http://www.securityfocus.com/bid/26910","http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html","https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00908.html","http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","http://secunia.com/advisories/28676","http://www.debian.org/security/2007/dsa-1437","http://docs.info.apple.com/article.html?artnum=307179","http://secunia.com/advisories/28386","http://bugs.gentoo.org/show_bug.cgi?id=201570","http://www.mandriva.com/security/advisories?name=MDVSA-2008:036","http://secunia.com/advisories/28636","https://exchange.xforce.ibmcloud.com/vulnerabilities/39097","http://www.vupen.com/english/advisories/2007/4242","http://www.securityfocus.com/bid/26917"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:39.352Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/5xxx/CVE-2007-5849.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-5849","state":"PUBLISHED","datePublished":"2007-12-19T21:00:00.000Z","dateUpdated":"2024-08-07T15:47:00.628Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-11-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.cups.org/str.php?L2589","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39101","name":"cups-asn1getstring-bo(39101)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.vupen.com/english/advisories/2007/4238","name":"ADV-2007-4238","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","name":"TA07-352A","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://secunia.com/advisories/28129","name":"28129","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/suse_security_summary_report.html","name":"SUSE-SR:2008:002","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/28441","name":"28441","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/28136","name":"28136","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/28113","name":"28113","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/28200","name":"28200","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/usn-563-1","name":"USN-563-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml","name":"GLSA-200712-14","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/bid/26910","name":"26910","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html","name":"SUSE-SA:2008:002","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00908.html","name":"FEDORA-2008-0322","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","name":"APPLE-SA-2007-12-17","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/28676","name":"28676","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2007/dsa-1437","name":"DSA-1437","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/28386","name":"28386","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=201570","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:036","name":"MDVSA-2008:036","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/28636","name":"28636","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39097","name":"macos-snmp-bo(39097)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.vupen.com/english/advisories/2007/4242","name":"ADV-2007-4242","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/bid/26917","name":"26917","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-07-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-12-17T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-5849","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.cups.org/str.php?L2589","refsource":"CONFIRM","url":"http://www.cups.org/str.php?L2589"},{"name":"cups-asn1getstring-bo(39101)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39101"},{"name":"ADV-2007-4238","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/4238"},{"name":"TA07-352A","refsource":"CERT","url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html"},{"name":"28129","refsource":"SECUNIA","url":"http://secunia.com/advisories/28129"},{"name":"SUSE-SR:2008:002","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/suse_security_summary_report.html"},{"name":"28441","refsource":"SECUNIA","url":"http://secunia.com/advisories/28441"},{"name":"28136","refsource":"SECUNIA","url":"http://secunia.com/advisories/28136"},{"name":"28113","refsource":"SECUNIA","url":"http://secunia.com/advisories/28113"},{"name":"28200","refsource":"SECUNIA","url":"http://secunia.com/advisories/28200"},{"name":"USN-563-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-563-1"},{"name":"GLSA-200712-14","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml"},{"name":"26910","refsource":"BID","url":"http://www.securityfocus.com/bid/26910"},{"name":"SUSE-SA:2008:002","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html"},{"name":"FEDORA-2008-0322","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00908.html"},{"name":"APPLE-SA-2007-12-17","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html"},{"name":"28676","refsource":"SECUNIA","url":"http://secunia.com/advisories/28676"},{"name":"DSA-1437","refsource":"DEBIAN","url":"http://www.debian.org/security/2007/dsa-1437"},{"name":"http://docs.info.apple.com/article.html?artnum=307179","refsource":"CONFIRM","url":"http://docs.info.apple.com/article.html?artnum=307179"},{"name":"28386","refsource":"SECUNIA","url":"http://secunia.com/advisories/28386"},{"name":"http://bugs.gentoo.org/show_bug.cgi?id=201570","refsource":"CONFIRM","url":"http://bugs.gentoo.org/show_bug.cgi?id=201570"},{"name":"MDVSA-2008:036","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:036"},{"name":"28636","refsource":"SECUNIA","url":"http://secunia.com/advisories/28636"},{"name":"macos-snmp-bo(39097)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39097"},{"name":"ADV-2007-4242","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/4242"},{"name":"26917","refsource":"BID","url":"http://www.securityfocus.com/bid/26917"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.cups.org/str.php?L2589","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39101","name":"cups-asn1getstring-bo(39101)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/4238","name":"ADV-2007-4238","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","name":"TA07-352A","tags":["third-party-advisory","x_refsource_CERT","x_transferred"]},{"url":"http://secunia.com/advisories/28129","name":"28129","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/suse_security_summary_report.html","name":"SUSE-SR:2008:002","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/28441","name":"28441","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/28136","name":"28136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/28113","name":"28113","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/28200","name":"28200","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-563-1","name":"USN-563-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml","name":"GLSA-200712-14","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.securityfocus.com/bid/26910","name":"26910","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html","name":"SUSE-SA:2008:002","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00908.html","name":"FEDORA-2008-0322","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","name":"APPLE-SA-2007-12-17","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://secunia.com/advisories/28676","name":"28676","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2007/dsa-1437","name":"DSA-1437","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/28386","name":"28386","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=201570","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:036","name":"MDVSA-2008:036","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/28636","name":"28636","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39097","name":"macos-snmp-bo(39097)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/4242","name":"ADV-2007-4242","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/26917","name":"26917","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T15:47:00.628Z"}}]}}}