← Vulnerability feed

Vulnerability record · CVE-2018-7284 · published 22 February 2018

CVE-2018-7284: Asterisk res_pjsip_pubsub Accept header buffer overflow

Digium · Asterisk

Asterisk's res_pjsip_pubsub module fails to enforce its fixed 32-header limit when storing accepted formats from Accept headers in a SUBSCRIBE request. Supplying more than 32 Accept headers causes an out-of-bounds write, crashing the process. The flaw affects Asterisk through 13.19.1, 14.x through 14.7.5, 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2.

7.5 CVSS 3.0 High EPSS 58% · top 0.9% CWE-119 · Memory buffer overflow
7.5CVSS 3.0 base score, v2 5.0
58%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
10References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityUnauthenticated remote denial of service with a public exploit and very high EPSS, though no KEV listing and impact limited to availability.

What it is

Asterisk's res_pjsip_pubsub module fails to enforce its fixed 32-header limit when storing accepted formats from Accept headers in a SUBSCRIBE request. Supplying more than 32 Accept headers causes an out-of-bounds write, crashing the process. The flaw affects Asterisk through 13.19.1, 14.x through 14.7.5, 15.x through 15.2.1, and Certified Asterisk through 13.18-cert2.

Impact

An unauthenticated remote attacker can crash the Asterisk process, causing a denial of service for telephony services. The CVSS vector shows only availability impact, so no confidentiality or integrity loss is expected from this flaw.

Attack surface

Reachable over the network via SIP SUBSCRIBE requests to the PJSIP stack; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

Not listed in CISA KEV, but EPSS is high (0.57662, 99th percentile) and a public Exploit-DB entry (44184) exists, indicating exploit code is available.

What to do

  • Upgrade Asterisk to a version after 13.19.1, 14.7.5, or 15.2.1, or Certified Asterisk after 13.18-cert2, per vendor advisory AST-2018-004.
  • Apply the Debian security update DSA-4320 if running the Debian package.
  • Restrict SIP SUBSCRIBE traffic to trusted peers and networks where possible.
  • Monitor for and rate-limit SIP requests containing an unusually high number of Accept headers.

Detection

  • Inspect SIP traffic for SUBSCRIBE requests with more than 32 Accept headers.
  • Alert on Asterisk process crashes or restarts correlated with inbound SIP SUBSCRIBE bursts.
  • Review PJSIP logs for malformed or excessive Accept header handling errors.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-7284 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2018-7284), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.