Skip to content
OpenAdvisories
High · 7.5 CVE-2018-18066 EUVD-2018-9805GHSA-9mpr-24m6-767p

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 attac…

Published Oct 8, 2018 · Updated May 6, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 net-snmp 5.7.3+dfsg-1.1 —
Debian 13 net-snmp 5.7.3+dfsg-1.1 —
Debian 12 net-snmp 5.7.3+dfsg-1.1 —
ReleasePackageFixed inAdvisory
RHEL 7 net-snmp +8 1:5.7.2-47.el7 RHSA-2020:1081
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.7 EUS net-snmp +8 1:5.7.2-43.el7_7.6 RHSA-2020:2539

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 net-snmp +8 1:5.7.2-48.amzn2.1 ALAS2-2020-1454

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 net-snmp +8 1:5.7.2-47.el7 ELSA-2020-1081

Advisories 6

References