net-snmp: NULL pointer exception in snmp_oid_compare in snmplib/snmp_api.c resulting in a denial of service
Published Oct 8, 2018
7.5
HIGHCVSS 3.1
EPSS 3.59%
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.
Affected products
No data.
Configuration 2
- n/a
- n/a
- n/a
- n/a
- ≥ 11.0 · ≤ 11.5
- n/a
No data.
Red Hat Enterprise Linux 7
net-snmp-1:5.7.2-47.el7
Fixed · RHSA-2020:1081
Red Hat Enterprise Linux 7.7 Extended Update Support
net-snmp-1:5.7.2-43.el7_7.6
Fixed · RHSA-2020:2539
Red Hat Enterprise Linux 5
net-snmp
Not affected
Red Hat Enterprise Linux 6
net-snmp
Will not fix
Red Hat Enterprise Linux 8
net-snmp
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | net-snmp-1:5.7.2-47.el7 | Fixed | RHSA-2020:1081 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | net-snmp-1:5.7.2-43.el7_7.6 | Fixed | RHSA-2020:2539 |
| Red Hat Enterprise Linux 5 | net-snmp | Not affected | n/a |
| Red Hat Enterprise Linux 6 | net-snmp | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | net-snmp | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Apr 23, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.59% (0.03590) | 89.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.30% (0.04298) | 89.83th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.59% (0.00590) | 68.35th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.12% (0.02116) | 82.72th | v4 (v2025.03.14) |
| Mar 30, 2025 | 0.83% (0.00829) | 72.34th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.95% (0.01951) | 72.55th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.83% (0.00829) | 72.87th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.39% (0.00389) | 74.10th | v3 (v2023.03.01) |
| Feb 29, 2024 | 0.39% (0.00389) | 72.66th | v3 (v2023.03.01) |
| Jan 17, 2024 | 0.60% (0.00598) | 76.08th | v3 (v2023.03.01) |
| Oct 2, 2023 | 0.84% (0.00840) | 80.12th | v3 (v2023.03.01) |
| May 24, 2023 | 0.71% (0.00707) | 77.55th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.92% (0.00915) | 80.41th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.55% (0.01550) | 33.66th | v1 |
| Jan 6, 2022 | 1.55% (0.01550) | 32.96th | v1 |
| Sep 1, 2021 | 1.55% (0.01550) | 73.01th | v1 |
| Apr 14, 2021 | 1.55% (0.01550) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2018-18066 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1637572 Issue Tracking
- https://dumpco.re/blog/net-snmp-5.7.3-remote-dos x_refsource_MISCExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-18066
- https://security.netapp.com/advisory/ntap-20181107-0001/ x_refsource_CONFIRMThird Party Advisory
- https://sourceforge.net/p/net-snmp/code/ci/7ffb8e25a0db851953155de91f0170e9bf8c457d/ x_refsource_MISCPatchThird Party Advisory
- https://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/ x_refsource_MISCPatchThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-18066
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html x_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-18066 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1637572 | Issue Tracking | |
| https://dumpco.re/blog/net-snmp-5.7.3-remote-dos | x_refsource_MISCExploitPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-18066 | ||
| https://security.netapp.com/advisory/ntap-20181107-0001/ | x_refsource_CONFIRMThird Party Advisory | |
| https://sourceforge.net/p/net-snmp/code/ci/7ffb8e25a0db851953155de91f0170e9bf8c457d/ | x_refsource_MISCPatchThird Party Advisory | |
| https://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/ | x_refsource_MISCPatchThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-18066 | ||
| https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html | x_refsource_MISC |
Change history (0)
No recorded changes yet.