CVE-2025-57767
published high CVSS 3.1 · 7.5Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| asterisk | — | asterisk< 22.5.2 · < 21.10.2 · < 20.15.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| asterisk | asterisk | < 22.5.2 (affected)< 21.10.2 (affected)< 20.15.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-253 CWE-253: Incorrect Check of Function Return Value
References
3Provider assertions
2GitHub_M · cna
Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- aebff674735cfe17992e27e4fd78209814d8083888cced5483068d70b3391022
- Ingested
- 23 Sep 2026, 08:53:41 UTC
- Source record
- Official CVE record