{"id":"CVE-2025-57767","published":"2025-08-28T15:33:00Z","modified":"2025-08-28T17:12:35Z","title":"Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request","vendor":"asterisk","product":"asterisk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00451,"percentile":0.4003,"provenance":"source"},"cwes":[{"id":"CWE-253","name":"Incorrect Check of Function Return Value"}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/pull/1407","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/02993717b08f899d4aca9888062f35dfb198584f","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.01},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"asterisk","affectedVersions":[{"vendor":"asterisk","product":"asterisk","versions":["< 22.5.2","< 21.10.2","< 20.15.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-08-28T17:12:27.086945Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-26117","exploited":false,"provenance":"source"}}