CVE-2007-5849
Integer underflow in the asn1_get_string function in the SNMP back end (backend/snmp.c) for CUPS...
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.
Exploit likelihood
What each source reports
NVD Score used
9.3
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.
- Record
CVE-2007-5849- CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-5849- Updated
- 2026-11-02
EUVDEUVD-2007-5819 No score
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.
- Record
EUVD-2007-5819- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x2h6-2q5c-v7px No score
Integer underflow in the asn1_get_string function in the SNMP back end (backend/snmp.c) for CUPS...
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.
- Record
GHSA-x2h6-2q5c-v7px- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2007-5849- Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-5849 No score
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.
- Record
DEBIAN-CVE-2007-5849- Updated
- 2026-11-02
Affected products
Affected packages
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Common UNIX Printing System 1.2/1.3 SNMP - 'asn1_get_string()' Remote Buffer Overflow | 2007-11-06 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| affected, aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-5849 is a high vulnerability (CVSS 9.3) in Easy Software Products Cups, published December 19, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 13.6%, the 96th percentile. Fixed in cups 1.3.5-1.
References
cups.org/str.php?L2589
exchange.xforce.ibmcloud.com/vulnerabilities/39101
vupen.com/english/advisories/2007/4238
us-cert.gov/cas/techalerts/TA07-352A.html
secunia.com/advisories/28129
novell.com/linux/security/advisories/suse_security_summary_report.html
Show 23 moreShow less
secunia.com/advisories/28441
secunia.com/advisories/28136
secunia.com/advisories/28113
secunia.com/advisories/28200
ubuntu.com/usn/usn-563-1
gentoo.org/security/en/glsa/glsa-200712-14.xml
securityfocus.com/bid/26910
lists.opensuse.org/opensuse-security-announce/2008-01/msg00003.html
redhat.com/archives/fedora-package-announce/2008-January/msg00908.html
lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
secunia.com/advisories/28676
debian.org/security/2007/dsa-1437
docs.info.apple.com/article.html?artnum=307179
secunia.com/advisories/28386
bugs.gentoo.org/show_bug.cgi?id=201570
mandriva.com/security/advisories?name=MDVSA-2008:036
secunia.com/advisories/28636
exchange.xforce.ibmcloud.com/vulnerabilities/39097
vupen.com/english/advisories/2007/4242
securityfocus.com/bid/26917
nvd.nist.gov/vuln/detail/CVE-2007-5849
github.com/advisories/GHSA-x2h6-2q5c-v7px
security-tracker.debian.org/tracker/CVE-2007-5849