CVE-2018-7285Digium Asterisk
High 7.5 No auth needed
Follow: this CVE · Digium · Digium Asterisk We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.0
- 7.5
- EPSS
- 5.0% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Feb 22, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Asterisk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| digium | asterisk | ≥ 15.0.0 ≤ 15.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- downloads.asterisk.org Patch Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry