CVE-2025-57767: Asterisk - Denial of Service
- Cve: CVE-2025-57767
- Name: Asterisk - Denial of Service
- 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.
- Impact: Remote attackers can cause a denial of service by crashing the application via segmentation fault.
- Remediation: Update to versions 20.15.2, 21.10.2, or 22.5.2 or later.
- Vulnerability type: null_pointer_dereference
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00451
- Epss percentile: 0.39922
- Assignee: [email protected]
- Published at: 2025-08-28T16:15:35Z
- Age in days: 453
- Modified at: 2026-06-17T09:43:23Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-57767
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-253 | Incorrect Check of Function Return Value |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sangoma:asterisk | >= 22.0.0, < 22.5.2; >= 21.0.0, < 21.10.2; < 20.15.2 | no | nvd | /v1/products/sangoma/asterisk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| asterisk/asterisk | commit, fix, pull, security_advisory | yes | /v1/repositories/asterisk/asterisk |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts