---
title: "CVE-2018-7285\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-7285?format=md
keywords: index, follow
---

# CVE-2018-7285

Publication date 22 February 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-7285?format=md#impact-score)

Toggle side navigation

## Description

A NULL pointer access issue was discovered in Asterisk 15.x through 15.2.1.
The RTP support in Asterisk maintains its own registry of dynamic codecs
and desired payload numbers. While an SDP negotiation may result in a codec
using a different payload number, these desired ones are still stored
internally. When an RTP packet was received, this registry would be
consulted if the payload number was not found in the negotiated SDP. This
registry was incorrectly consulted for all packets, even those which are
dynamic. If the payload number resulted in a codec of a different type than
the RTP stream (for example, the payload number resulted in a video codec
but the stream carried audio), a crash could occur if no stream of that
type had been negotiated. This was due to the code incorrectly assuming
that a stream of that type would always exist.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| asterisk | 19.10 eoan | Not affected |
| 19.04 disco | Not affected |
| 18.10 cosmic | Ignored end of life |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## 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-7285)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-7285)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-7285)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-7285)

### Other references

* <http://downloads.asterisk.org/pub/security/AST-2018-001.html>
* <https://www.cve.org/CVERecord?id=CVE-2018-7285>
