---
title: "CVE-2026-57187: Asterisk - Use After Free"
description: "Asterisk < 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk < 20.7-cert11, 22.8-cert3 contain a use-after-free vulnerability caused by handling SIP INVITE over connection-oriented transport with premature disconnect, letting authenticated attackers cause heap corruption, exploit requires authentication."
url: https://panop.io/threat-heartbeat/CVE-2026-57187/
---

# CVE-2026-57187 Asterisk - Use After Free

Asterisk < 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk < 20.7-cert11, 22.8-cert3 contain a use-after-free vulnerability caused by handling SIP INVITE over connection-oriented transport with premature disconnect, letting authenticated attackers cause heap corruption, exploit requires authentication.

CVSS base score 7.1 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-57187)

## Details

Type

Use After Free

Impact

Denial Of Service

CVSS vector

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Published

26 October 2026

Updated

27 October 2026

Weakness

[CWE-416](https://cwe.mitre.org/data/definitions/416.html)

## Vendor fix

Update to versions 20.20.1, 21.12.3, 22.10.1, 23.4.1 or Certified Asterisk 20.7-cert11, 22.8-cert3.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-57187](https://nvd.nist.gov/vuln/detail/CVE-2026-57187)
- [https://github.com/asterisk/asterisk/releases/tag/23.4.1](https://github.com/asterisk/asterisk/releases/tag/23.4.1)
- [https://github.com/asterisk/asterisk/security/advisories/GHSA-g8q2-p36q-94f6](https://github.com/asterisk/asterisk/security/advisories/GHSA-g8q2-p36q-94f6)
- [https://github.com/asterisk/asterisk/commit/0f076168e0be31ebee37762192d0ee049e9c0d42](https://github.com/asterisk/asterisk/commit/0f076168e0be31ebee37762192d0ee049e9c0d42)
- [https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3](https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3)
- [https://github.com/asterisk/asterisk/commit/f1e47621472bb3d8ad71f32823f5ca986e008437](https://github.com/asterisk/asterisk/commit/f1e47621472bb3d8ad71f32823f5ca986e008437)
- [https://github.com/asterisk/asterisk/releases/tag/20.20.1](https://github.com/asterisk/asterisk/releases/tag/20.20.1)
- [https://github.com/asterisk/asterisk/releases/tag/21.12.3](https://github.com/asterisk/asterisk/releases/tag/21.12.3)
- [https://github.com/asterisk/asterisk/commit/9e0386c6d259f0c7499d52499d9891bee8a494fa](https://github.com/asterisk/asterisk/commit/9e0386c6d259f0c7499d52499d9891bee8a494fa)
- [https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11](https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11)
- [https://github.com/asterisk/asterisk/tree/24.0.0-pre1](https://github.com/asterisk/asterisk/tree/24.0.0-pre1)
- [https://github.com/asterisk/asterisk/commit/27b9544b32f059a4f614169243eaa7559f622aa0](https://github.com/asterisk/asterisk/commit/27b9544b32f059a4f614169243eaa7559f622aa0)
- [https://github.com/asterisk/asterisk/commit/6e1f4df744369d66ea6f412e355d819b2a7bf26c](https://github.com/asterisk/asterisk/commit/6e1f4df744369d66ea6f412e355d819b2a7bf26c)
- [https://github.com/asterisk/asterisk/commit/b7ba85458796ef54b471017287c7806095dbda76](https://github.com/asterisk/asterisk/commit/b7ba85458796ef54b471017287c7806095dbda76)
- [https://github.com/asterisk/asterisk/commit/d4e30005940f86942745bcc64f34748d69870247](https://github.com/asterisk/asterisk/commit/d4e30005940f86942745bcc64f34748d69870247)
- [https://github.com/asterisk/asterisk/releases/tag/22.10.1](https://github.com/asterisk/asterisk/releases/tag/22.10.1)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
