CVE-2018-18066: snmp_oid_compare in snmplib/snmp_api.c in Net-SNMP before 5.8 has a NULL Pointer Exception bug that can be use
CVE-2018-18066 is a high-severity flaw (CVSS 7.5) affecting net-snmp, cloud backup, hyper converged infrastructure. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.6% (top 11%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2018-10-08 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-18066?
net-snmp: upgrade to 5.8; cloud backup: mitigate or apply the listed mitigation; hyper converged infrastructure: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-18066 being exploited?
CVE-2018-18066 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-18066 affect?
CVE-2018-18066 affects net-snmp, cloud backup, hyper converged infrastructure. Severity is high (CVSS 7.5). 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.
How urgent is CVE-2018-18066?
Priority 59/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-68615 CRITICAL 9.8 UPGRADE MITIGATE net-snmp is a SNMP application library, tools and daemon
- CVE-2022-44793 MEDIUM 6.5 UPGRADE MITIGATE handle_ipv6IpForwarding in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.4.3 through 5.9.3 has a NULL Point
- CVE-2022-44792 MEDIUM 6.5 UPGRADE MITIGATE handle_ipDefaultTTL in agent/mibgroup/ip-mib/ip_scalars.c in Net-SNMP 5.8 through 5.9.3 has a NULL Pointer Exc
- CVE-2022-24810 MEDIUM 6.5 UPGRADE MITIGATE net-snmp provides various tools relating to the Simple Network Management Protocol
- CVE-2022-24809 MEDIUM 6.5 UPGRADE MITIGATE net-snmp provides various tools relating to the Simple Network Management Protocol