CVE-2023-37457 in Digium Asterisk and 1 more product
Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the ne...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Digium | Asterisk | 21.0.0 ≤ 18.20.0 ≥ 19.0.0, ≤ 20.5.0 |
| Sangoma | Certified Asterisk | 13.13.0 16.8.0 18.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as ceritifed-asterisk 18.9-cert5 and prior, the 'update' functionality of the PJSIP_HEADER dialplan function can exceed the available buffer space for storing the new value of a header. By doing so this can overwrite memory or cause a crash. This is not externally exploitable, unless dialplan is explicitly written to update a header based on data from an outside source. If the 'update' functionality is not used the vulnerability does not occur. A patch is available at commit a1ca0268254374b515fa5992f01340f7717113fa.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-37457 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-005632-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
| Published | 2023-12-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-120: Buffer Copy without Checking Size (Classic Buffer Overflow)
Program copies data to a buffer without verifying the source data fits within the destination.
Related attack patterns (CAPEC)
CAPEC-8 Buffer Overflow in an API Call via CWE-120
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-120
CAPEC-10 Buffer Overflow via Environment Variables via CWE-120
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-120
CAPEC-24 Filter Failure through Buffer Overflow via CWE-120
Show all 13
CAPEC-42 MIME Conversion via CWE-120
CAPEC-44 Overflow Binary Resource File via CWE-120
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-120
CAPEC-46 Overflow Variables and Tags via CWE-120
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-120
CAPEC-67 String Format Overflow in syslog() via CWE-120
CAPEC-92 Forced Integer Overflow via CWE-120
CAPEC-100 Overflow Buffers via CWE-120
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A buffer overflow vulnerability exists in the 'update' functionality of the PJSIP_HEADER dialplan function in Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as certified-asterisk 18.9-cert5 and prior. This can lead to memory corruption or a crash.
An attacker can exploit this vulnerability by crafting a malicious SIP request that triggers the 'update' functionality of the PJSIP_HEADER dialplan function, causing a buffer overflow. This could potentially allow for arbitrary code execution or denial of service.
Questions
What is CVE-2023-37457?
A buffer overflow vulnerability exists in the 'update' functionality of the PJSIP_HEADER dialplan function in Asterisk versions 18.20.0 and prior, 20.5.0 and prior, and 21.0.0; as well as certified-asterisk 18.9-cert5 and prior. This can lead to memory corruption or a crash.
What is the CVSS score for CVE-2023-37457?
CVE-2023-37457 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H. EPSS: 1.8%.
Is CVE-2023-37457 actively exploited?
No confirmed active exploitation of CVE-2023-37457 as of 2026-09-25.
How do I remediate CVE-2023-37457?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2023-37457?
CVE-2023-37457 affects Digium Asterisk; Sangoma Certified Asterisk.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Digium","product":"Asterisk","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.