CVE-2025-57767 Details
Description
Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.15.2, 21.10.2, and 22.5.2, if a SIP request is received with an Authorization header that contains a realm that wasn't in a previous 401 response's WWW-Authenticate header, or an Authorization header with an incorrect realm was received without a previous 401 response being sent, the get_authorization_header() function in res_pjsip_authenticator_digest will return a NULL. This wasn't being checked before attempting to get the digest algorithm from the header which causes a SEGV. This issue has been patched in versions 20.15.2, 21.10.2, and 22.5.2. There are no workarounds.
A denial-of-service vulnerability has been identified in Asterisk, an open-source private branch exchange and telephony toolkit. The issue affects versions through 22.5.1, 21.10.1, and 20.15.1. The vulnerability arises in the 'res_pjsip_authenticator_digest' module, specifically within the 'get_authorization_header()' function. When a SIP request is received with an Authorization header that includes a realm not present in a prior 401 response's WWW-Authenticate header, or if an Authorization header with an incorrect realm is received without a preceding 401 response, the function will return NULL. This NULL return value is not properly checked before attempting to retrieve the digest algorithm from the header, leading to a segmentation fault and causing Asterisk to crash.
Users can upgrade to Asterisk versions 22.5.2, 21.10.2, or 20.15.2 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-253 | Incorrect Check of Function Return Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sangoma asterisk | < 20.15.2 >= 21.0.0, < 21.10.2 >= 22.0.0, < 22.5.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 20, 2025 | Initial Analysis | [email protected] |
| Aug 28, 2025 | New CVE Received | [email protected] |