CVE-2025-57767: Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request

Published Aug 28, 2025
·
Updated

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 getauthorizationheader() function in respjsipauthenticatordigest 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.

Affected Software

14 affected componentsFixes available
Asterisk Asterisk<20.15.2, <21.10.2, <22.5.2
Sangoma Asterisk<20.15.2
Sangoma Asterisk>=21.0.0<21.10.2
Sangoma Asterisk>=22.0.0<22.5.2
debian/asterisk
1:22.5.2~dfsg+~cs6.15.60671435-1
debian/asterisk<1:22.5.2~dfsg+~cs6.15.60671435-1
1:22.5.2~dfsg+~cs6.15.60671435-1
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.5.2~dfsg+~cs6.15.60671435-1
  2. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 20.15.2
  3. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 21.10.2
  4. Upgrade

    Upgrade Asterisk to a version that resolves this vulnerability.

    Fixed in 22.5.2

Event History

Aug 28, 2025
CVE Published
via MITRE·03:33 PM
Data Sourced
via MITRE·03:33 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Oct 20, 2025
Data Sourced
via NVD·05:51 PM
RemedyAffected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-57767?

CVE-2025-57767 has been classified with a medium severity rating due to potential authentication bypass vulnerabilities.

2

How do I fix CVE-2025-57767?

To fix CVE-2025-57767, update Asterisk to version 20.15.2, 21.10.2, or 22.5.2 or later.

3

Which versions of Asterisk are affected by CVE-2025-57767?

CVE-2025-57767 affects Asterisk versions prior to 20.15.2, 21.10.2, and 22.5.2.

4

What type of vulnerability is CVE-2025-57767?

CVE-2025-57767 is an authentication bypass vulnerability that can be exploited through manipulated SIP requests.

5

Can CVE-2025-57767 affect my telephony services?

Yes, CVE-2025-57767 could potentially disrupt your telephony services if exploited, allowing unauthorized access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203