CVE-2007-5849 Integer overflow in n/a

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code on CUPS servers via crafted SNMP responses due to an integer underflow leading to buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-5849?

CVE-2007-5849 is a critical vulnerability in n/a, published on 19 Dec 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-189

Which versions are affected by CVE-2007-5849?

It affects 1 product.

Products include Easy Software Products Cups.

How do I fix CVE-2007-5849?

Upgrade to a fixed version.

Is CVE-2007-5849 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5849 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2007-5849, GHSA-x2h6-2q5c-v7px.

Is CVE-2007-5849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free