cve.bz

CVE-2018-18066 NULL Pointer Dereference

7.5 highExploit referenceEPSS 3.6%Fix available

High (7.5). EPSS 3.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.6% (unchanged from 3.6% a week ago; 3.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-18066 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-18066?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-18066?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-18066 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
net-snmp:net-snmpbefore 5.8
netapp:e-series_santricity_os_controllerfrom 11.0 through 11.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14net-snmp5.7.3+dfsg-1.1DEBIAN-CVE-2018-18066
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morenet-snmp, net-snmp-gui, net-snmp-libs and 7 more1:5.7.2-47.el7RHSA-2020:1081
Red Hatrhel_eus:7.7::computenode, rhel_eus:7.7::servernet-snmp, net-snmp-gui, net-snmp-libs and 7 more1:5.7.2-43.el7_7.6RHSA-2020:2539

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Configuring snmp with a secret community string makes this attack much more difficult to perform, as the attacker must guess the community string in order to exploit the vulnerability.

Protecting the snmp service with host firewall rules to prevent unauthorized hosts from sending messages to the snmp service will prevent this attack being carried out by users of other hosts on the network.

Either or both of these steps is recommended to prevent potential attackers from gaining extra information about network devices and topology, and from causing undue load to snmp services.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7net-snmp-1:5.7.2-47.el7Fixed 2020-03-31RHSA-2020:1081
Red Hat Enterprise Linux 7.7 Extended Update Supportnet-snmp-1:5.7.2-43.el7_7.6Fixed 2020-06-12RHSA-2020:2539
Red Hat Enterprise Linux 5net-snmpNot affected
Red Hat Enterprise Linux 6net-snmpWill not fix
Red Hat Enterprise Linux 8net-snmpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-18066.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-234-01Hitachi Energy AFF66x2023-08-22EnergyAFF660/665: <= 03.0.02none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON