CVE-2018-7284
mediumpriority · attend · 63EPSS 0.662 · 99 %ileexploit · functionalDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- EDB-44184Asterisk chan_pjsip 15.2.0 - 'SUBSCRIBE' Stack Corruptionfunctional · exploit_db
- Rodrigo-D/astDoSTool to exploit CVE-2018-7284 and CVE-2018-19278PoC · poc_in_github
affected products (17)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0838Asterisk: Schwachstelle ermöglicht Denial of ServiceDeutsch2018-02-21csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Asterisk ausnutzen, um einen Denial of Service Angriff durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- http://downloads.asterisk.org/pub/security/AST-2018-004.htmlcnnvd
- http://www.securityfocus.com/bid/103151cnnvd
- http://www.securitytracker.com/id/1040416cnnvd
- https://cxsecurity.com/issue/WLB-2018020300cnnvd
- https://issues.asterisk.org/jira/browse/ASTERISK-27640Patchcnnvd
- https://www.debian.org/security/2018/dsa-4320cnnvd
- https://www.exploit-db.com/exploits/44184/cnnvd
- http://downloads.asterisk.org/pub/security/AST-2018-004.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan