CVE-2025-57767 in Sangoma Asterisk
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 real...
Affects 1 product from 1 vendor. 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, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sangoma | Asterisk | < 20.15.2 ≥ 21.0.0, < 21.10.2 ≥ 22.0.0, < 22.5.2 |
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. 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-57767 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-036513-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-08-28 |
| Last modified | 2025-10-20 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-253: CWE-253
Analysis AI-written, not human-reviewed
A vulnerability in Asterisk prior to versions 20.15.2, 21.10.2, and 22.5.2 allows unauthorized access if a SIP request with an incorrect or unexpected Authorization header is received.
The attack vector involves sending a SIP request with an Authorization header that contains a realm not previously challenged by a 401 response's WWW-Authenticate header, or an incorrect realm without a prior 401 response.
Questions
What is CVE-2025-57767?
A vulnerability in Asterisk prior to versions 20.15.2, 21.10.2, and 22.5.2 allows unauthorized access if a SIP request with an incorrect or unexpected Authorization header is received.
What is the CVSS score for CVE-2025-57767?
CVE-2025-57767 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.
Is CVE-2025-57767 actively exploited?
No confirmed active exploitation of CVE-2025-57767 as of 2026-05-30.
How do I remediate CVE-2025-57767?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-57767?
CVE-2025-57767 affects Sangoma 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":"Sangoma","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 2025-10-20.