Asterisk up to 20.15.1/21.10.1/22.5.1 Authorization Header get_authorization_header function return value
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Asterisk up to 20.15.1/21.10.1/22.5.1 and classified as problematic. Affected by this vulnerability is the function get_authorization_header of the component Authorization Header Handler. Such manipulation leads to function return value.
This vulnerability is traded as CVE-2025-57767. The attack may be launched remotely. There is no exploit available.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in Asterisk up to 20.15.1/21.10.1/22.5.1. It has been rated as problematic. Affected by this issue is the function get_authorization_header of the component Authorization Header Handler. The manipulation with an unknown input leads to a function return value vulnerability. Using CWE to declare the problem leads to CWE-253. The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions. Impacted is availability. CVE summarizes:
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.
The advisory is available at github.com. This vulnerability is handled as CVE-2025-57767 since 08/19/2025. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit.
Upgrading to version 20.15.2, 21.10.2 or 22.5.2 eliminates this vulnerability. Applying the patch 02993717b08f899d4aca9888062f35dfb198584f is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-1926). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Affected
- Debian Linux
- Gentoo Linux
- Open Source Asterisk
Product
Type
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.4VulDB Meta Temp Score: 6.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Function return valueCWE: CWE-253
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Asterisk 20.15.2/21.10.2/22.5.2
Patch: 02993717b08f899d4aca9888062f35dfb198584f
Timeline
08/19/2025 CVE reserved08/28/2025 Advisory disclosed
08/28/2025 VulDB entry created
01/26/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-64qc-9x89-rx5j
Status: Confirmed
CVE: CVE-2025-57767 (🔒)
GCVE (CVE): GCVE-0-2025-57767
GCVE (VulDB): GCVE-100-321794
CERT Bund: WID-SEC-2025-1926 - Asterisk: Mehrere Schwachstellen ermöglichen Denial of Service
Entry
Created: 08/28/2025 20:51Updated: 01/26/2026 14:30
Changes: 08/28/2025 20:51 (67), 01/26/2026 14:30 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.