---
title: "CVE-2018-18066\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-18066?format=md
keywords: index, follow
---

# CVE-2018-18066

Publication date 8 October 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-18066?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2018-18066?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| net-snmp | 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-18066?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

this is a duplicate of CVE-2015-5621 which was fixed in
USN-2711-1
0025-Bug-788964-net-snmp-snmp\_pdu\_parse-DoS.patch in bionic
CVE-2015-5621.patch in xenial

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| net-snmp | * Upstream:   <https://sourceforge.net/p/net-snmp/code/ci/f23bcd3ac6ddee5d0a48f9703007ccc738914791/> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18066)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-18066)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-18066)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-18066)

### Other references

* <https://dumpco.re/blog/net-snmp-5.7.3-remote-dos>
* <https://www.cve.org/CVERecord?id=CVE-2018-18066>
