cve.bz

CVE-2026-57187 asterisk: Use After Free

7.1 highEPSS 0.5%

High (7.1) in asterisk. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.1 high
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
EPSS
0.5% (unchanged from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-416 Use After Free
CWE-664 Improper Control of a Resource Through its Lifetime
Published
Modified
NVD analysis
Under analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-57187 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57187?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57187?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57187 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-57187

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-57187](https://cve.bz/cve/badge/CVE-2026-57187.svg)](https://cve.bz/cve/CVE-2026-57187)

HTML:

<a href="https://cve.bz/cve/CVE-2026-57187"><img src="https://cve.bz/cve/badge/CVE-2026-57187.svg" alt="CVE-2026-57187"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
asterisk< 20.20.1
asterisk>= 21.0.0-pre1, < 21.12.3
asterisk>= 22.0.0-pre1, < 22.10.1
asterisk>= 23.0.0-pre1, < 23.4.1
asterisk certified-asterisk< 20.7-cert11
asterisk certified-asterisk>= 22.8-cert1-pre1, < 22.8-cert3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14asterisk1:22.10.1+dfsg+~cs6.17.60671434-1DEBIAN-CVE-2026-57187
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreasteriskno fix listedUBUNTU-CVE-2026-57187

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is evaluated as Moderate impact because exploitation requires valid user authentication and only leads to a denial of service. The defect is triggered when a client abruptly terminates a connection-oriented transport before the exchange completes in PJSIP. Additionally, Asterisk is not packaged or distributed in Red Hat Enterprise Linux, limiting exposure across standard Red Hat deployments.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57187.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-61 Session Fixation Likelihood: Medium · Severity: High
  • CAPEC-62 Cross Site Request Forgery Likelihood: High · Severity: Very High
  • CAPEC-196 Session Credential Falsification through Forging Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON