Cyber Resilience

CVE-2025-57767

Sangoma Asterisk ≤ 20.15.2

Published
28 August 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0041 34th percentile
Risk Priority 57 floored blend · peak EPSS

Summary

CVE-2025-57767 is a high-severity Incorrect Check of Function Return Value (CWE-253) vulnerability in Sangoma Asterisk. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 34th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-57520Same product: Sangoma Asterisk
CVE-2024-35190Same product: Sangoma Asterisk
CVE-2024-42491Same product: Sangoma Asterisk
CVE-2026-23741Same product: Sangoma Asterisk
CVE-2025-47780Same product: Sangoma Asterisk
CVE-2026-23740Same product: Sangoma Asterisk
CVE-2025-47779Same product: Sangoma Asterisk
CVE-2025-54995Same product: Sangoma Asterisk
CVE-2025-49832Same product: Sangoma Asterisk
CVE-2025-1131Same product: Sangoma Asterisk

Affected Assets

sangoma
asterisk
≤ 20.15.2 · 21.0.0 — 21.10.2 · 22.0.0 — 22.5.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and code analysis can discover missing or incorrect return-value checks.

Documented development standards and tools can mandate verified checking of every function return value.

Security engineering principles include requirements for robust error checking of all function returns.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly enforce proper error-handling and return-value checking during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches missing or incorrect return-value checks.

prevents

Secure SDLC mandates return-value checks and error handling, directly reducing CWE-253.

prevents

Application security requirements include robust error handling that mitigates incorrect return-value checks.

prevents

Secure architecture principles require defensive coding practices such as validating function results.

prevents

Secure coding explicitly demands checking return values, covering most of CWE-253.

References