Home / Sangoma / Asterisk / CVE-2018-12228
CVE-2018-12228: is it exploited, and which versions of Sangoma Asterisk are affected and fixed?
CVE-2018-12228 is an infinite loop (denial of service) vulnerability in Sangoma Asterisk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: asterisk from 15.0 before 15.4.1 (NVD). Fixed in 15.4.1 (NVD). Severity: Medium (6.5, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:31 UTC.
What is CVE-2018-12228?
An issue was discovered in Asterisk Open Source 15.x before 15.4.1. When connected to Asterisk via TCP/TLS, if the client abruptly disconnects, or sends a specially crafted message, then Asterisk gets caught in an infinite loop while trying to read the data stream. This renders the system unusable.
From the CVE record by mitre, last updated August 5, 2024, 08:30 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sangoma | asterisk | from 15.0 before 15.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:37 UTC.
How severe is CVE-2018-12228?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-12228 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.34% probability of exploitation activity in the next 30 days, percentile 93.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- 104457 vdb-entry, x_refsource_BID
- https://issues.asterisk.org/jira/browse/ASTERISK-27807 x_refsource_CONFIRM
- http://downloads.asterisk.org/pub/security/AST-2018-007.html x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 11, 2018
- Published
- June 12, 2018, 04:00 UTC
- CVE record updated
- August 5, 2024, 08:30 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:37 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:31 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Asterisk?
- Feb 5, 2025CVE-2024-57520 Sangoma Asterisk: incorrect permissions on a critical resource disputed
- Dec 2, 2024CVE-2024-53566 Sangoma Asterisk: path traversal (reading or writing files outside the intended folder)
- Dec 5, 2022CVE-2022-42706 Sangoma Asterisk: path traversal (reading or writing files outside the intended folder)
- Dec 5, 2022CVE-2022-42705 Sangoma Asterisk: use after free
- Dec 5, 2022CVE-2022-37325 Sangoma Asterisk: out-of-bounds write (memory corruption)
- Nov 6, 2020CVE-2020-28327 Digium Certified Asterisk: resource not released
- Nov 6, 2020CVE-2020-28242 Certified Asterisk: uncontrolled recursion
- Jun 2, 2017CVE-2017-9358 Sangoma Asterisk: infinite loop (denial of service)
Questions about CVE-2018-12228
Is CVE-2018-12228 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 6.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sangoma Asterisk are affected by CVE-2018-12228?
asterisk from 15.0 before 15.4.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-12228?
15.4.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-12228?
Medium (6.5, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-12228?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.