CVE-2018-7284Digium Asterisk
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Digium · Digium Asterisk We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.0
- 7.5
- EPSS
- 66.8% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Feb 22, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
A Buffer Overflow issue was discovered in Asterisk through 13.19.1, 14.x through 14.7.5, and 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2. When processing a SUBSCRIBE request, the res_pjsip_pubsub module stores the accepted formats present in the Accept headers of the request. This code did not limit the number of headers it processed, despite having a fixed limit of 32. If more than 32 Accept headers were present, the code would write outside of its memory and cause a crash.
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 | ≤ 13.19.1 |
| digium | asterisk | ≥ 14.0.0 ≤ 14.7.5 |
| digium | asterisk | ≥ 15.0.0 ≤ 15.2.1 |
| digium | certified_asterisk | 13.18 |
| digium | certified_asterisk | 13.18 |
| digium | certified_asterisk | ≤ 13.18 |
| debian | debian_linux | 9.0 |
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
- www.debian.org Third Party Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry