CVE-2026-57187
CVE-2026-57187 — Asterisk: Heap-use-after-free in Asterisk PJSIP TCP/SDP handling when TCP connection closes during SDP processing
Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, an authenticated attacker may cause a heap-use-after-free in `PJSIP TCP/SDP` handling by sending a `SIP INVITE` over a connection-oriented transport and disconnecting before Asterisk responds with the `200 OK`. So far, the crash has only been reproduced when Asterisk is built with `Address Sanitizer`, which detects the issue. `Address Sanitizer` is a development tool with significant performance overhead and, according to the maintainer, is not used in production systems. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.
Published Updated Sources: NVD, asterisk (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
<1%
ahead of 49% of scored CVEs
CVSS base
7.1
high
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Asterisk to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Asterisk | asterisk | < 20.20.1 | Vulnerable |
| Asterisk | asterisk | >= 21.0.0-pre1, < 21.12.3 | Vulnerable |
| Asterisk | asterisk | >= 22.0.0-pre1, < 22.10.1 | Vulnerable |
| Asterisk | asterisk | >= 23.0.0-pre1, < 23.4.1 | Vulnerable |
| Asterisk | certified-asterisk | < 20.7-cert11 | Vulnerable |
| Asterisk | certified-asterisk | >= 22.8-cert1-pre1, < 22.8-cert3 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Scope
X
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.1 | CVSS 4.0 | high | n/a | n/a | asterisk (CNA) |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-664 · Improper Control of a Resource Through its Lifetime
- Other::
Mitigation: Use Static analysis tools to check for unreleased resources.::
CWE-416 · Use After Free
- Modify Memory
- DoS: Crash, Exit, or Restart
- Execute Unauthorized Code or Commands
Mitigation: Choose a language that provides automatic memory management.
Weakness & attack patterns
- CWE-416Use After Free
- CWE-664
Inferred from the weakness class — not observed against this CVE.
- T1134.002Access Token Manipulation: Create Process with Token
- T1134.003Access Token Manipulation: Make and Impersonate Token
- T1606Forge Web Credentials
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
1
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /SDP.
- Prioritize edge telemetry for network-reachable Asterisk, Certified-asterisk.
- Monitor for scanner or exploit-pattern traffic after 1 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 7.1 (AV:N)
Oct 26, 2026 · NVD
Initial · CVE published
Oct 26, 2026 · NVD
CVE published by MITRE.
Oct 26, 2026 · SOCRadar CTI
References
15 on the record
- github.com/asterisk/asterisk/commit/0f076168e0be31ebee37762192d0ee049e9c0d42
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/commit/27b9544b32f059a4f614169243eaa7559f622aa0
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/commit/6e1f4df744369d66ea6f412e355d819b2a7bf26c
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/commit/9e0386c6d259f0c7499d52499d9891bee8a494fa
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/commit/b7ba85458796ef54b471017287c7806095dbda76
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/commit/d4e30005940f86942745bcc64f34748d69870247
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/commit/f1e47621472bb3d8ad71f32823f5ca986e008437
Exploit, Third Party Advisory, Mitre, NIST
- github.com/asterisk/asterisk/releases/tag/20.20.1
Exploit, Third Party Advisory, Mitre, NIST
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-42365 Asterisk allows `Write=originate` as sufficient permissions for code execution / `System()` dialplanCVSS 8.8
- CVE-2025-24085 Apple Multiple Products Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-22893 Ivanti Pulse Connect Secure Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-8439 Adobe Flash Player Dereferenced Pointer VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-1776 Microsoft Internet Explorer Memory Corruption VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2014-0496 Adobe Reader and Acrobat Use-After-Free VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Asteriskevery CVE for this vendor
- Memory Corruptionsame class
- CWE-416other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-57187 is Asterisk: Heap-use-after-free in Asterisk PJSIP TCP/SDP handling when TCP connection closes during SDP processing, a high vulnerability affecting Asterisk, Certified-asterisk from Asterisk. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-57187. Public exploit evidence is: 1 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.1 describes technical severity, while EPSS 1% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.