Vulnerability record · CVE-2018-7285 · published 22 February 2018
CVE-2018-7285: Digium asterisk null pointer dereference vulnerability
Digium · Asterisk
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.
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.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://downloads.asterisk.org/pub/security/AST-2018-001.html | PatchVendor Advisory |
| http://www.securityfocus.com/bid/103149 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1040415 | Third Party AdvisoryVDB Entry |
| http://downloads.asterisk.org/pub/security/AST-2018-001.html | PatchVendor Advisory |
| http://www.securityfocus.com/bid/103149 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1040415 | Third Party AdvisoryVDB Entry |
Track CVE-2018-7285 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-7285), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.