{"id":"CVE-2026-57201","summary":"Asterisk: Stack Buffer Overflow in H.323 ooTrace() via Unbounded vsprintf into Fixed 2048-byte Buffer","details":"Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, a stack buffer overflow in the H.323 `ooTrace()` trace-logging function can occur when unbounded `vsprintf` writes into a fixed `2048-byte buffer`. A remote attacker may send a carefully crafted packet that causes the Asterisk process to crash. The `chan_ooh323` addon channel driver must be explicitly compiled and installed, which is not the default, and its port must be publicly reachable. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.","aliases":["GHSA-x348-j6c9-77f3"],"modified":"2026-11-11T13:30:23.224722967Z","published":"2026-10-27T16:56:37.203Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57201.json"},"references":[{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/20.20.1"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/21.12.3"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/22.10.1"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/23.4.1"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"},{"type":"WEB","url":"https://github.com/asterisk/asterisk/tree/24.0.0-pre1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57201.json"},{"type":"ADVISORY","url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-x348-j6c9-77f3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57201"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/33f62e351642edd9c58ef97b0002132722546af9"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/875ac7413de0b7068cd12d0da2f140cd06ba9357"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/ac0a64dec6d4231bf005a68da6af3e02bb311634"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/bf0c9a906892bc0f91fa753476e326919e4e30e5"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/c4d9b4defe83f74523880fd630c02c49683786a3"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/fff256d0539e96f70ac315844d72e9d540f03a4c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asterisk/asterisk","events":[{"introduced":"0"},{"fixed":"1f072600089c8321b8c4141f431742b06cae1c66"},{"fixed":"19ea385cecb1b9403e3d924bcb3d770a04d50b49"},{"introduced":"68349125a8a825b0995b4ab1343c61bdb2ad33e5"},{"fixed":"b9fda9d45703e9dbae5542300bb1f11a1abe2f37"},{"introduced":"31b8dc09238d916be18d93dc7dda30711e636c17"},{"fixed":"f0e408a7b0d829c85bf15fa4b487870a50cb3000"},{"introduced":"ca5335d90ea8dc26fa2ea189f9621b1d8a4a3513"},{"fixed":"9c6d578ea138e2a5df3bbc261b82a94424d6ce53"},{"introduced":"5da1497b742194b535f13e155b87bd698772a4b6"},{"fixed":"3c1105ea3c80209b5420565d125dc2163eba436a"},{"fixed":"2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a"},{"fixed":"33f62e351642edd9c58ef97b0002132722546af9"},{"fixed":"875ac7413de0b7068cd12d0da2f140cd06ba9357"},{"fixed":"ac0a64dec6d4231bf005a68da6af3e02bb311634"},{"fixed":"bf0c9a906892bc0f91fa753476e326919e4e30e5"},{"fixed":"c4d9b4defe83f74523880fd630c02c49683786a3"},{"fixed":"fff256d0539e96f70ac315844d72e9d540f03a4c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"20.20.1"}]},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"20.7-cert11"}]},{"strategy":"StringRangeExpression","range":[{"introduced":"21.0.0-pre1"},{"fixed":"21.12.3"}],"source":"AFFECTED_FIELD"},{"strategy":"StringRangeExpression","range":[{"introduced":"22.0.0-pre1"},{"fixed":"22.10.1"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"23.0.0-pre1"},{"fixed":"23.4.1"}]},{"range":[{"introduced":"22.8-cert1-pre1"},{"fixed":"22.8-cert3"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"33f62e351642edd9c58ef97b0002132722546af9"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"875ac7413de0b7068cd12d0da2f140cd06ba9357"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ac0a64dec6d4231bf005a68da6af3e02bb311634"}]},{"range":[{"fixed":"bf0c9a906892bc0f91fa753476e326919e4e30e5"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"c4d9b4defe83f74523880fd630c02c49683786a3"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"fff256d0539e96f70ac315844d72e9d540f03a4c"}]},{"source":"REFERENCES_TAG","original_tag":"20.20.1","range":[{"fixed":"1f072600089c8321b8c4141f431742b06cae1c66"}]},{"source":"REFERENCES_TAG","original_tag":"21.12.3","range":[{"fixed":"b9fda9d45703e9dbae5542300bb1f11a1abe2f37"}]},{"range":[{"fixed":"f0e408a7b0d829c85bf15fa4b487870a50cb3000"}],"source":"REFERENCES_TAG","original_tag":"22.10.1"},{"original_tag":"23.4.1","range":[{"fixed":"9c6d578ea138e2a5df3bbc261b82a94424d6ce53"}],"source":"REFERENCES_TAG"},{"source":"REFERENCES_TAG","original_tag":"certified-20.7-cert11","range":[{"fixed":"19ea385cecb1b9403e3d924bcb3d770a04d50b49"}]},{"original_tag":"certified-22.8-cert3","range":[{"fixed":"3c1105ea3c80209b5420565d125dc2163eba436a"}],"source":"REFERENCES_TAG"}]}}],"versions":["23.4.0","22.10.0","20.20.0","certified-22.8-cert2","certified-20.7-cert10","21.12.2","23.4.0-rc1","22.10.0-rc1","20.20.0-rc1","23.3.0","22.9.0","20.19.0","23.3.0-rc2","22.9.0-rc2","20.19.0-rc2","23.3.0-rc1","22.9.0-rc1","20.19.0-rc1","certified-22.8-cert1-pre1","22.8.2","23.2.2","20.18.2","certified-22.8-cert1","certified-20.7-cert9","21.12.1","certified-22.8-cert1-rc1","certified-20.7-cert8","23.2.1","21.12.0","20.18.1","23.2.0","20.18.0","20.18.0-rc1","23.2.0-rc1","23.1.0","20.17.0","certified-20.7-cert7","21.12.0-rc2","23.1.0-rc2","20.17.0-rc2","23.1.0-rc1","21.12.0-rc1","20.17.0-rc1","23.0.0","21.11.0","20.16.0","23.0.0-rc2","21.11.0-rc2","20.16.0-rc2","23.0.0-rc1","21.11.0-rc1","20.16.0-rc1","20.15.0","20.15.0-rc3","20.15.0-rc1","20.15.0-rc2","20.15.1","20.15.2","20.14.0","21.10.0","21.10.0-rc3","21.10.0-rc1","21.10.0-rc2","21.10.1","21.10.2","21.9.0","23.0.0-pre1","certified-20.7-cert6","certified-20.7-cert5","certified-20.7-cert4","21.9.0-rc1","20.14.0-rc1","21.8.0","20.13.0","21.8.0-rc1","20.13.0-rc1","21.7.0","20.12.0","21.7.0-rc2","20.12.0-rc2","21.7.0-rc1","20.12.0-rc1","21.6.1","20.11.1","21.6.0","certified-20.7-cert3","20.11.0","21.6.0-rc1","20.11.0-rc1","21.5.0","20.10.0","20.10.0-rc2","21.5.0-rc2","21.5.0-rc1","20.10.0-rc1","21.4.3","20.9.3","certified-20.7-cert2","21.4.2","20.9.2","21.4.1","20.9.1","certified-20.7-cert1","20.9.0","21.4.0","21.4.0-rc1","20.9.0-rc1","certified-20.7-cert1-rc2","21.3.1","20.8.1","21.3.0","20.8.0","21.3.0-rc1","20.8.0-rc1","certified-20.7-cert1-rc1","certified-20.7-cert1-pre1","20.7.0","21.2.0","21.2.0-rc2","20.7.0-rc2","20.7.0-rc1","21.2.0-rc1","21.1.0","20.6.0","21.1.0-rc2","20.6.0-rc2","21.1.0-rc1","20.6.0-rc1","21.0.2","20.5.2","20.5.1","21.0.1","21.0.0","20.5.0","21.0.0-rc1","20.5.0-rc1","21.0.0-pre1","20.4.0","20.4.0-rc2","20.4.0-rc1","20.3.1","20.3.0","20.3.0-rc1","20.2.1","20.2.0","20.2.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57201.json","vanir_signatures":[{"target":{"file":"addons/ooh323c/src/ootrace.c","function":"ooTrace"},"deprecated":false,"digest":{"function_hash":"196625337335739302815924667506041785722","length":239},"id":"CVE-2026-57201-0edde212","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/875ac7413de0b7068cd12d0da2f140cd06ba9357"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/33f62e351642edd9c58ef97b0002132722546af9","target":{"file":"addons/ooh323c/src/ootrace.c","function":"ooTrace"},"deprecated":false,"digest":{"length":239,"function_hash":"196625337335739302815924667506041785722"},"id":"CVE-2026-57201-168f89b9"},{"id":"CVE-2026-57201-2c690e0d","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/33f62e351642edd9c58ef97b0002132722546af9","target":{"file":"addons/ooh323c/src/ootrace.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"]}},{"source":"https://github.com/asterisk/asterisk/commit/ac0a64dec6d4231bf005a68da6af3e02bb311634","target":{"function":"ooTrace","file":"addons/ooh323c/src/ootrace.c"},"deprecated":false,"digest":{"function_hash":"196625337335739302815924667506041785722","length":239},"id":"CVE-2026-57201-4a77457c","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-57201-4dffd510","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/fff256d0539e96f70ac315844d72e9d540f03a4c","target":{"file":"addons/ooh323c/src/ootrace.c","function":"ooTrace"},"deprecated":false,"digest":{"function_hash":"196625337335739302815924667506041785722","length":239}},{"deprecated":false,"digest":{"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"],"threshold":0.9},"id":"CVE-2026-57201-5e728e86","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/875ac7413de0b7068cd12d0da2f140cd06ba9357","target":{"file":"addons/ooh323c/src/ootrace.c"}},{"deprecated":false,"digest":{"function_hash":"196625337335739302815924667506041785722","length":239},"id":"CVE-2026-57201-696c3d9b","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/bf0c9a906892bc0f91fa753476e326919e4e30e5","target":{"file":"addons/ooh323c/src/ootrace.c","function":"ooTrace"}},{"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"]},"id":"CVE-2026-57201-7000b642","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/c4d9b4defe83f74523880fd630c02c49683786a3","target":{"file":"addons/ooh323c/src/ootrace.c"}},{"source":"https://github.com/asterisk/asterisk/commit/fff256d0539e96f70ac315844d72e9d540f03a4c","target":{"file":"addons/ooh323c/src/ootrace.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"]},"id":"CVE-2026-57201-810e1f7a","signature_type":"Line","signature_version":"v1"},{"target":{"file":"addons/ooh323c/src/ootrace.c"},"deprecated":false,"digest":{"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"],"threshold":0.9},"id":"CVE-2026-57201-daf0a7fb","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a"},{"id":"CVE-2026-57201-f0dde578","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/2d7b8c8dc13d9ead8b6f36cc38b6dd91cd4abd3a","target":{"file":"addons/ooh323c/src/ootrace.c","function":"ooTrace"},"deprecated":false,"digest":{"function_hash":"196625337335739302815924667506041785722","length":239}},{"target":{"file":"addons/ooh323c/src/ootrace.c","function":"ooTrace"},"deprecated":false,"digest":{"function_hash":"196625337335739302815924667506041785722","length":239},"id":"CVE-2026-57201-f355877c","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/c4d9b4defe83f74523880fd630c02c49683786a3"},{"signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/ac0a64dec6d4231bf005a68da6af3e02bb311634","target":{"file":"addons/ooh323c/src/ootrace.c"},"deprecated":false,"digest":{"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"],"threshold":0.9},"id":"CVE-2026-57201-f85b7482","signature_type":"Line"},{"id":"CVE-2026-57201-f9cb4856","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/bf0c9a906892bc0f91fa753476e326919e4e30e5","target":{"file":"addons/ooh323c/src/ootrace.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["121918792565889287446735638195556763370","151235549762161320212313009256671594797","18378691379425681377939832197628998206","94448622066256319958720491022373517880","162517021031175075974463589719571032869","269341411002871499844570869230945677181","181359572491930881596118000376773462875","311811688926853764167773872819159304700","10665214609658568983498218026155503959"]}}],"vanir_signatures_modified":"2026-11-11T13:30:23Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}