BreachSpiderVerified, not vibes

CVE-2004-0918 in Gentoo Linux and 5 more products

Medium 5.0

The asn_parse_header function (asn1.c) in the SNMP module for Squid Web Proxy Cache before 2.4.STABLE7 allows remote attackers to cause a denial of service (server restart) via certain SNMP packets with negative length fields that trigger a memory allocation error.

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

CVSS 2.05.0
EPSS15.8%
EPSS percentile98th
FixUnknown

Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Gentoo Linux All versions
Openpkg Openpkg 2.1 2.2 current
Redhat Fedora Core core_2.0
Squid Squid 2.0_patch2 2.1_patch2 2.3_.stable4 2.3_.stable5 2.4 2.4_.stable2
+10 more2.4_.stable6 2.4_.stable7 2.5_.stable1 2.5_.stable3 2.5_.stable4 2.5_.stable5 2.5_.stable6 3.0_pre1 3.0_pre2 3.0_pre3
Trustix Secure Linux 1.5 2.0 2.1
Ubuntu Ubuntu Linux 4.1

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 exploitNot confirmed

Official description

The asn_parse_header function (asn1.c) in the SNMP module for Squid Web Proxy Cache before 2.4.STABLE7 allows remote attackers to cause a denial of service (server restart) via certain SNMP packets with negative length fields that trigger a memory allocation error.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2004-0918
BreachSpider IDBS-2005-GLOBAL-008195-M
CVSS vectorAV:N/AC:L/Au:N/C:N/I:N/A:P
Published2005-01-27
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-399: Resource Management Errors

Broad class covering failures in managing system resources such as memory, file handles, and connections.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2005. A medium severity vulnerability affects Gentoo systems (CVE-2004-0918). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The asn_parse_header function (asn1.c) in the SNMP module for Squid Web Proxy Cache before 2.4.STABLE7 allows remote attackers to cause a denial of service (server restart) via certain SNMP packets with negative length fields that trigger a memory allocation error. CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:P.

Questions

What is CVE-2004-0918?

This vulnerability was disclosed in 2005. A medium severity vulnerability affects Gentoo systems (CVE-2004-0918). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2004-0918?

CVE-2004-0918 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. EPSS: 15.8%.

Is CVE-2004-0918 actively exploited?

No confirmed active exploitation of CVE-2004-0918 as of 2026-09-25.

How do I remediate CVE-2004-0918?

Priority: MONITOR. PSIRT: [email protected]

What systems are affected by CVE-2004-0918?

CVE-2004-0918 affects Gentoo Linux; Openpkg Openpkg; Redhat Fedora Core; Squid Squid; Trustix Secure Linux; Ubuntu Ubuntu Linux.

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":"Gentoo","product":"Linux","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.