{"id":"CVE-2007-5849","aliases":["DEBIAN-CVE-2007-5849","DSA-1437-1","EUVD-2007-5819","GHSA-x2h6-2q5c-v7px"],"status":"published","title":"Integer underflow in the asn1_get_string function in the SNMP back end (backend/snmp.c) for CUPS...","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.","severity":{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.1361,"percentile":0.96493,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-189"],"published":"2007-12-19T21:00:00Z","modified":"2026-10-21T17:47:30Z","exploits":[{"source":"exploitdb","id":"EDB-30898","title":"Common UNIX Printing System 1.2/1.3 SNMP - 'asn1_get_string()' Remote Buffer Overflow","type":"dos","platform":"linux","date":"2007-11-06","verified":true,"url":"https://www.exploit-db.com/exploits/30898"}],"fixes":[{"ecosystem":"Debian:12","package":"cups","fixed_in":["1.3.5-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"cups","fixed_in":["1.3.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"cups","fixed_in":["1.3.5-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"cups","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.5-1"}]}]},{"source":"osv","ecosystem":"Debian:4.0","package":"cupsys","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.7-4etch2"}]}],"versions":["1.2.7-4","1.2.7-4etch1"],"bundled":2}],"products":[{"vendor":"easy_software_products","product":"cups"}],"references":[{"url":"http://www.cups.org/str.php?L2589","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39101","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/4238","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://secunia.com/advisories/28129","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/suse_security_summary_report.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/28441","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28113","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28200","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-563-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200712-14.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/26910","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00908.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://secunia.com/advisories/28676","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.debian.org/security/2007/dsa-1437","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/28386","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=201570","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:036","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/28636","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39097","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/4242","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/26917","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5849"},{"url":"https://github.com/advisories/GHSA-x2h6-2q5c-v7px"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-5849","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-5849","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.","status":"published","published":"2007-12-19T21:00:00Z","modified":"2024-08-07T15:47:00.628Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5819","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.","status":"published","published":"2007-12-19T21:00:00Z","modified":"2024-08-07T15:47:00Z","updated_at":"2026-11-03T01:16:15.2541Z"}],"ghsa":[{"id":"GHSA-x2h6-2q5c-v7px","title":"Integer underflow in the asn1_get_string function in the SNMP back end (backend/snmp.c) for CUPS...","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.","status":"published","published":"2022-05-01T18:37:25Z","modified":"2023-01-31T05:05:11Z","updated_at":"2026-11-02T14:48:48.170956Z"}],"nvd":[{"id":"CVE-2007-5849","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.","status":"published","published":"2007-12-19T21:46:00Z","modified":"2026-06-16T22:46:56.673Z","cvss":[{"version":"2.0","score":9.3,"vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:01:24.110006Z"}],"osv":[{"id":"CVE-2007-5849","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.","status":"published","published":"2007-12-19T21:46:00Z","modified":"2026-04-10T03:39:20.311462Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2007-5849","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.","status":"published","published":"2007-12-19T21:46:00Z","modified":"2026-10-21T17:47:30.825806057Z","updated_at":"2026-11-02T15:45:23.411908Z"},{"id":"DSA-1437-1","title":"cupsys","status":"published","published":"2007-12-26T00:00:00Z","modified":"2026-03-09T01:01:06.068801Z","updated_at":"2026-11-02T15:46:14.285228Z"}]}}
