CVEfocus › CVE database › CVE-2018-18066

CVE-2018-18066

CVSS 7.5 HighEPSS 3.6% (higher than 90% of CVEs)Published 2018-10-08Updated 2025-05-06Assigner: mitre

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.

CWE-476

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
6Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04net-snmpNot affected
vulnerable_code_not_present
Debian 14net-snmpFixed5.7.3+dfsg-1.1DEBIAN-CVE-2018-18066
Debian 13net-snmpFixed5.7.3+dfsg-1.1DEBIAN-CVE-2018-18066
Debian 12net-snmpFixed5.7.3+dfsg-1.1DEBIAN-CVE-2018-18066
Red Hat Enterprise Linux 8net-snmpNot affected
Red Hat Enterprise Linux 8net-snmp-agent-libsNot affected
Red Hat Enterprise Linux 8net-snmp-develNot affected
Red Hat Enterprise Linux 8net-snmp-libsNot affected
Red Hat Enterprise Linux 8net-snmp-perlNot affected
Red Hat Enterprise Linux 8net-snmp-utilsNot affected
Red Hat Enterprise Linux 7net-snmpFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-agent-libsFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-develFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-guiFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-libsFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-perlFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-pythonFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-sysvinitFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 7net-snmp-utilsFixed1:5.7.2-47.el7RHSA-2020:1081
Red Hat Enterprise Linux 6net-snmpWill not fix
Will not fix
Red Hat Enterprise Linux 6net-snmp-develWill not fix
Will not fix
Red Hat Enterprise Linux 6net-snmp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6net-snmp-perlWill not fix
Will not fix
Red Hat Enterprise Linux 6net-snmp-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6net-snmp-utilsWill not fix
Will not fix
Red Hat Enterprise Linux 5net-snmpNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.