CVE-2018-7284
publishedasterisk: memory corruption in SUBSCRIBE message with a large Accept value
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | asterisk | Advisory build | 1:13.14.1~dfsg-2+deb9u4 | DSA-4320-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- 103151 http://www.securityfocus.com/bid/103151
- 1040416 http://www.securitytracker.com/id/1040416
- DSA-4320 https://www.debian.org/security/2018/dsa-4320
- 44184 https://www.exploit-db.com/exploits/44184/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 51bd01fd80832165dcda7d28b81849adaf2f9dc5920fd5271dbcc83d3fdf6989
- Ingested
- 23 Sep 2026, 07:45:05 UTC
- Source record
- Official CVE record