CVE-2025-57767
Last modified
CVE-2025-57767 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sangoma | Asterisk | < 20.15.2 |
| Sangoma | Asterisk | >= 21.0.0, < 21.10.2 |
| Sangoma | Asterisk | >= 22.0.0, < 22.5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-57767?
How severe is CVE-2025-57767?
How do I fix CVE-2025-57767?
Are you affected by CVE-2025-57767?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
