SecurityContext

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

IdName
CWE-253Incorrect Check of Function Return Value

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/asterisk/asterisk/commit/02993717b08f899d4aca9888062f35dfb198584fPatch
https://github.com/asterisk/asterisk/pull/1407Issue Tracking, Patch
https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5jVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
sangoma:asterisk>= 22.0.0, < 22.5.2; >= 21.0.0, < 21.10.2; < 20.15.2nonvd/v1/products/sangoma/asterisk

Projects

RepositoryLink kindsIndexedUrl
asterisk/asteriskcommit, fix, pull, security_advisoryyes/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