High severity · published Aug 28, 2025
CVE-2025-57767
Asterisk is an open source private branch exchange and telephony toolkit
7.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Asterisk · Sangoma
before 20.15.2; 21.0.0 before 21.10.2; 22.0.0 before 22.5.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-57767
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-57767
Patch
https://github.com/asterisk/asterisk/commit/02993717b08f899d4aca9888062f35dfb198584f
Issue Tracking
https://github.com/asterisk/asterisk/pull/1407
Vendor Advisory
https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5j
More from Asterisk
9.8
CVE-2024-57520
Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the action_createconfig function
9.8
CVE-2022-23608
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE
9.8
CVE-2021-37706
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE
9.1
CVE-2022-21723
PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE
8.8
CVE-2026-23741
Asterisk is an open source private branch exchange and telephony toolkit
