CVE-2007-5849
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…
- 9.3HighCVSS base score
- 13.6%Exploitation in 30 daysEPSS · top 3.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Common UNIX Printing System 1.2/1.3 SNMP - 'asn1_get_string()' Remote Buffer Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 30898dos, linuxpublished 6 Nov 2007Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 43 days later
· 43 days later
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 13.6% · top 3.5% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 9.3.
Affected products
n/a
- affected n/a
References
26
- http://www.cups.org/str.php?L2589 (opens in a new tab)x_refsource_CONFIRMx_transferred
- cups-asn1getstring-bo(39101) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- ADV-2007-4238 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- TA07-352A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- 28129 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SR:2008:002 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 28441 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28136 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28113 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 28200 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-563-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- GLSA-200712-14 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 26910 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- SUSE-SA:2008:002 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- FEDORA-2008-0322 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- APPLE-SA-2007-12-17 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- 28676 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1437 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://docs.info.apple.com/article.html?artnum=307179 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 28386 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://bugs.gentoo.org/show_bug.cgi?id=201570 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2008:036 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 28636 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- macos-snmp-bo(39097) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- ADV-2007-4242 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 26917 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-5819 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-5849)Record last updated .