BreachSpiderVerified, not vibes

CVE-2007-5849 in Easy Software Products Cups and 1 more product

Critical 9.3 Public exploit reported

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.09.3
EPSS13.6%
EPSS percentile97th
FixUnknown

Remotely exploitable over the network.

Affected products and versions

VendorProductAffected versions
Easy Software Products Cups 1.2.4 1.2.9 1.2.10 1.2.12 1.3.3

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Apple Mac Os X

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2007-5849
BreachSpider IDBS-2007-GLOBAL-157932-C
CVSS vectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Published2007-12-19
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-189: CWE-189

Analysis AI-written, not human-reviewed

{ "executive_summary": "An integer underflow vulnerability in the asn1_get_string function within the SNMP backend of CUPS versions 1.2 through 1.3.4 can be exploited by remote attackers to execute arbitrary code via a crafted SNMP response, leading to a stack-based buffer overflow.", "attack_vector_detail": "The vulnerability arises from improper handling of integer values in the asn1_get_string function, which can result in an integer underflow. This underflow can be exploited by sending a specially crafted SNMP response to the affected CUPS server, causing a stack-based buffer overflow and potentially allowing the execution of arbitrary code with the privileges of the CUPS service.", "affected_components": ["CUPS 1.2", "CUPS 1.2.1", "CUPS 1.2.2", "CUPS 1.2.3", "CUPS 1.2.4", "CUPS 1.2.5", "CUPS 1.2.6", "CUPS 1.2.7", "CUPS 1.2.8", "CUPS 1.2.9", "CUPS 1.2.

Questions

What is CVE-2007-5849?

{ "executive_summary": "An integer underflow vulnerability in the asn1_get_string function within the SNMP backend of CUPS versions 1.2 through 1.3.4 can be exploited by remote attackers to execute arbitrary code via a crafted SNMP response, leading to a stack-based buffer overflow.", "attack_vector_detail": "The vulnerability arises from improper handling of integer values in the asn1_get_string function, which can result in an integer underflow. This underflow can be exploited by sending a

What is the CVSS score for CVE-2007-5849?

CVE-2007-5849 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 13.6%.

Is CVE-2007-5849 actively exploited?

Public exploit available for CVE-2007-5849. Exploitation risk elevated.

How do I remediate CVE-2007-5849?

PSIRT: [email protected]

What systems are affected by CVE-2007-5849?

CVE-2007-5849 affects Easy Software Products Cups.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Easy Software Products","product":"Cups","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.