CVE-2018-18066 in Net-Snmp and 6 more products
snmp_oid_compare in snmplib/snmp_api.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be used by an unauthenticated attacker to remotely cause the instance to crash via a crafted UDP packet, resulting in Denial of Service.
Affects 7 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Net-Snmp | Net-Snmp | < 5.8 |
| Netapp | Data Ontap | No version listed by the source |
| Netapp | Cloud Backup | No version listed by the source |
| Netapp | E-Series Santricity Os Controller | ≥ 11.0, ≤ 11.5 |
| Netapp | Storagegrid Webscale | No version listed by the source |
| Netapp | Hyper Converged Infrastructure | No version listed by the source |
| Netapp | Solidfire Element Os | No version listed by the source |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
snmp_oid_compare in snmplib/snmp_api.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be used by an unauthenticated attacker to remotely cause the instance to crash via a crafted UDP packet, resulting in Denial of Service.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-18066 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-127051-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2018-10-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2018. A high severity vulnerability affects Net-Snmp systems (CVE-2018-18066). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: snmp_oid_compare in snmplib/snmp_api.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be used by an unauthenticated attacker to remotely cause the instance to crash via a crafted UDP packet, resulting in Denial of Service. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Questions
What is CVE-2018-18066?
This vulnerability was disclosed in 2018. A high severity vulnerability affects Net-Snmp systems (CVE-2018-18066). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-18066?
CVE-2018-18066 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 3.5%.
Is CVE-2018-18066 actively exploited?
No confirmed active exploitation of CVE-2018-18066 as of 2026-09-25.
How do I remediate CVE-2018-18066?
Priority: MEDIUM. Advisory: https://www.cisa.gov/news-events/ics-advisories/icsa-23-234-01
What systems are affected by CVE-2018-18066?
CVE-2018-18066 affects Net-Snmp Net-Snmp; Netapp Data Ontap, Cloud Backup, E-Series Santricity Os Controller, Storagegrid Webscale, Hyper Converged Infrastructure, Solidfire Element Os.
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":"Net-Snmp","product":"Net-Snmp","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-17.