{"id":"CVE-2025-57767","state":"PUBLISHED","title":"Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request","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.","publishedAt":"2025-08-28T15:33:00.087Z","updatedAt":"2025-08-28T17:12:35.539Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["asterisk asterisk"],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 22.5.2","status":"affected"},{"version":"< 21.10.2","status":"affected"},{"version":"< 20.15.2","status":"affected"}]}],"references":["https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5j","https://github.com/asterisk/asterisk/pull/1407","https://github.com/asterisk/asterisk/commit/02993717b08f899d4aca9888062f35dfb198584f"],"weaknesses":["CWE-253"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/57xxx/CVE-2025-57767.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-57767","state":"PUBLISHED","datePublished":"2025-08-28T15:33:00.087Z","dateUpdated":"2025-08-28T17:12:35.539Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-19T15:16:22.917Z"},"containers":{"cna":{"title":"Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"asterisk","product":"asterisk","versions":[{"version":"< 22.5.2","status":"affected"},{"version":"< 21.10.2","status":"affected"},{"version":"< 20.15.2","status":"affected"}]}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5j","name":"https://github.com/asterisk/asterisk/security/advisories/GHSA-64qc-9x89-rx5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/asterisk/asterisk/pull/1407","name":"https://github.com/asterisk/asterisk/pull/1407","tags":["x_refsource_MISC"]},{"url":"https://github.com/asterisk/asterisk/commit/02993717b08f899d4aca9888062f35dfb198584f","name":"https://github.com/asterisk/asterisk/commit/02993717b08f899d4aca9888062f35dfb198584f","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-253","lang":"en","description":"CWE-253: Incorrect Check of Function Return Value","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-28T15:33:00.087Z"},"source":{"advisory":"GHSA-64qc-9x89-rx5j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-28T17:12:27.086945Z","id":"CVE-2025-57767","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-28T17:12:35.539Z"}}]}}}