Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-7284
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:43 UTC · Revision 1

Source evidence

CVE-2018-7284

core-osv · Original source

Published 22 Feb 2018, 00:29 UTC

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.

osv:CVE-2018-7284
Complete source record
{
  "id": "6458a7a972e81acae002cc7e3ba274a4a9c72b2ca3f0dfc522d806edb9846dc9",
  "url": "https://osv.dev/vulnerability/CVE-2018-7284",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-7284",
    "summary": "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.",
    "evidence": "osv:CVE-2018-7284",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-7284",
      "aliases": [
        "CVE-2018-7284"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/asterisk/asterisk",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d53653ed7a4ccb7f1dfaba6ec5543dc76e60fc53"
                },
                {
                  "last_affected": "719ac573a6dea452f122da76ba17073dc6ee1164"
                },
                {
                  "introduced": "c6d6dd133c3db3b202f1f0d457780c9a6d841e0f"
                },
                {
                  "last_affected": "e8a1b96b5115d87b4dae0004f392193a7a48c7a7"
                },
                {
                  "introduced": "d4cc63728def7ca06ad3f70547de87bc5c9ef7c0"
                },
                {
                  "last_affected": "6a815cb3db06986dba8cda0f9f3d0d65629a1443"
                },
                {
                  "introduced": "b7607c41e4825490ffea9d09c0b3b8f9d65f87c0"
                },
                {
                  "last_affected": "9f9c03d928110b9636506f6bc7a8f88c5c315a71"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "13.19.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:digium:certified_asterisk:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "13.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0.0"
                      },
                      {
                        "last_affected": "14.7.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "15.0.0"
                      },
                      {
                        "last_affected": "15.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:digium:certified_asterisk:13.18:cert1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.18-cert1"
                      },
                      {
                        "last_affected": "13.18-cert1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:digium:certified_asterisk:13.18:cert2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.18-cert2"
                      },
                      {
                        "last_affected": "13.18-cert2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "13.18-cert1",
            "13.18-cert2",
            "15.2.1",
            "13.19.1",
            "14.7.5",
            "15.2.0",
            "13.19.0",
            "13.19.0-rc2",
            "15.2.0-rc2",
            "certified/13.18-cert2",
            "15.2.0-rc1",
            "14.7.4",
            "13.19.0-rc1",
            "certified/13.18-cert1",
            "14.7.3",
            "14.7.2",
            "14.7.1",
            "13.18.0",
            "14.7.0",
            "14.7.0-rc2",
            "13.18.0-rc2",
            "14.7.0-rc1",
            "13.18.0-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7284.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:57.555932912Z",
      "provider": "osv",
      "references": [
        "https://www.debian.org/security/2018/dsa-4320",
        "https://www.exploit-db.com/exploits/44184/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-7284",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438887,
  "published_at": "2018-02-22T00:29:01+00:00"
}