CVE-2004-2652 in Sourcefire Snort
The DecodeTCPOptions function in decode.c in Snort before 2.3.0, when printing TCP/IP options using FAST output or verbose mode, allows remote attackers to cause a denial of service (crash) via packets with invalid TCP/IP options, which trigger a null dereference.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sourcefire | Snort | 2.1.0 2.1.1_rc1 2.1.3 2.2 |
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-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The DecodeTCPOptions function in decode.c in Snort before 2.3.0, when printing TCP/IP options using FAST output or verbose mode, allows remote attackers to cause a denial of service (crash) via packets with invalid TCP/IP options, which trigger a null dereference.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-2652 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-158352-H |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the DecodeTCPOptions function in Snort versions prior to 2.3.0 can be exploited by remote attackers to cause a denial of service (crash) through the use of packets with invalid TCP/IP options, leading to a null dereference.
The attack involves sending specially crafted packets with invalid TCP/IP options to a Snort instance configured to use FAST output or verbose mode. This triggers a null dereference in the DecodeTCPOptions function, causing the Snort process to crash.
Questions
What is CVE-2004-2652?
A vulnerability in the DecodeTCPOptions function in Snort versions prior to 2.3.0 can be exploited by remote attackers to cause a denial of service (crash) through the use of packets with invalid TCP/IP options, leading to a null dereference.
What is the CVSS score for CVE-2004-2652?
CVE-2004-2652 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. EPSS: 11.2%.
Is CVE-2004-2652 actively exploited?
Public exploit available for CVE-2004-2652. Exploitation risk elevated.
How do I remediate CVE-2004-2652?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2004-2652?
CVE-2004-2652 affects Sourcefire Snort.
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":"Sourcefire","product":"Snort","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.