CVE-2007-5849

NameCVE-2007-5849
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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1437-1
Debian Bugs457453

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups (PTS)buster2.2.10-6+deb10u6fixed
buster (security)2.2.10-6+deb10u9fixed
bullseye2.3.3op2-3+deb11u6fixed
bullseye (security)2.3.3op2-3+deb11u2fixed
bookworm2.4.2-3+deb12u5fixed
trixie2.4.7-1fixed
sid2.4.7-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cupssource(unstable)1.3.5-1medium457453
cupsyssourcesarge(not affected)
cupsyssourceetch1.2.7-4etch2DSA-1437-1
cupsyssource(unstable)1.3.5-1medium457453

Notes

[sarge] - cupsys <not-affected> (Vulnerable code not present)

Search for package or bug name: Reporting problems