{"id":"CVE-2026-57186","kind":"vulnerability","aliases":["CVE-2026-57186"],"related":[],"title":"Asterisk: malformed Q.931 party-number in chan_ooh323 crashes the PBX","description":"Asterisk is an open source private branch exchange and telephony toolkit. From 21.0.0-pre1 until Asterisk 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 22.8-cert3, the `chan_ooh323` `Q.931 party-number parser` lacks the `CVE-2022-37325` fix because that fix was never forward-ported from Asterisk 20 to later versions. Malformed Q.931 elements in an `OOH323 request` can therefore crash Asterisk. This issue affects Asterisk versions greater than 20. 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 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 22.8-cert3.","summary":"A malformed Q.931 element sent to the chan_ooh323 H.323 channel driver makes Asterisk crash, because a fix for an earlier CVE was never carried forward to newer releases. The impact is denial of service, not code execution, as far as the sources state.","severity":"high","cvss":7.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["asterisk","package","self-hosted","telephony","voip"],"not_affected_if":["chan-ooh323-not-installed","default-config","port-not-public"],"how_to_check":"- Run `asterisk -V` and compare against the fixed versions.\n- Check whether the chan_ooh323 module is loaded: `asterisk -rx \"module show like ooh323\"`.\n- Check whether the OOH323 port is reachable from untrusted networks.","fix":"- Upgrade Asterisk 21 to `21.12.3` or later.\n- Upgrade Asterisk 22 to `22.10.1` or later.\n- Upgrade Asterisk 23 to `23.4.1` or later.\n- Upgrade Certified Asterisk 22.8 to `22.8-cert3` or later.\n- If chan_ooh323 is not needed, do not load it or remove the module.","status":"open","published_at":"2026-10-27T22:17:26+00:00","first_seen_at":"2026-10-27T22:29:29+00:00","triaged_at":"2026-10-27T22:30:13+00:00","updated_at":"2026-10-27T22:30:13+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-10-27T22:30:13Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade Asterisk 21 to `21.12.3` or later.\n- Upgrade Asterisk 22 to `22.10.1` or later.\n- Upgrade Asterisk 23 to `23.4.1` or later.\n- Upgrade Certified Asterisk 22.8 to `22.8-cert3` or later.\n- If chan_ooh323 is not needed, do not load it or remove the module.","reach":"internet","title":"Asterisk: malformed Q.931 party-number in chan_ooh323 crashes the PBX","impact":"low","summary":"A malformed Q.931 element sent to the chan_ooh323 H.323 channel driver makes Asterisk crash, because a fix for an earlier CVE was never carried forward to newer releases. The impact is denial of service, not code execution, as far as the sources state.","category":"package","nicknames":[],"who_cares":["asterisk","self-hosted","telephony","voip"],"confidence":0.8,"needs_auth":"no","worst_case":"Asterisk process crashes, interrupting phone service until restart","analyst_note":"","how_to_check":"- Run `asterisk -V` and compare against the fixed versions.\n- Check whether the chan_ooh323 module is loaded: `asterisk -rx \"module show like ooh323\"`.\n- Check whether the OOH323 port is reachable from untrusted networks.","needs_analyst":false,"not_affected_if":["default-config","chan-ooh323-not-installed","port-not-public"],"who_is_affected":"Only systems that build and install the non-default chan_ooh323 addon driver and expose its H.323 port publicly are exposed. Deployments on Asterisk 20 or without chan_ooh323 installed can skip it.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000668,"input_tokens":3497,"output_tokens":637,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2022':105C '-2026':14A,17A '-37325':106C '-57186':15A,18A '20':118C,140C '21.0.0':82C '21.12.3':86C,171C '22.10.1':87C,172C '22.8':92C,177C '23.4.1':88C,173C 'addon':144C 'affect':135C 'asterisk':1A,19B,39B,70C,85C,91C,117C,132C,136C,170C,176C 'branch':76C 'carri':50B 'cert3':93C,178C 'certifi':90C,175C 'chan':8A,33B,95C,142C 'channel':36B,145C 'code':62B 'compil':150C 'crash':10A,40B,131C 'cve':13A,16A,47B,104C 'default':157C 'denial':58B 'driver':37B,146C 'earlier':46B 'element':29B,124C 'exchang':77C 'execut':63B 'explicit':149C 'far':65B 'fix':43B,107C,110C,168C 'forward':51B,114C 'forward-port':113C 'greater':138C 'h.323':35B 'host':23B 'impact':56B 'instal':152C 'issu':134C,166C 'lack':102C 'later':120C 'make':38B 'malform':2A,27B,122C 'must':147C,161C 'never':49B,112C 'newer':53B 'number':6A,100C 'ooh323':9A,34B,96C,127C,143C 'open':73C 'packag':20B 'parser':101C 'parti':5A,99C 'party-numb':4A,98C 'pbx':12A 'port':115C,160C 'pre1':83C 'privat':75C 'public':163C 'q.931':3A,28B,97C,123C 'reachabl':164C 'releas':54B 'request':128C 'self':22B 'self-host':21B 'sent':30B 'servic':60B 'sourc':68B,74C 'state':69B 'telephoni':24B,79C 'therefor':130C 'toolkit':80C 'version':121C,137C 'voip':25B","nicknames":[],"mitigations":[],"who_affected":"Only systems that build and install the non-default chan_ooh323 addon driver and expose its H.323 port publicly are exposed. Deployments on Asterisk 20 or without chan_ooh323 installed can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-27T22:17:26+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-57186","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57186","severity":null,"published_at":"2026-10-27T22:17:26+00:00","modified_at":"2026-10-27T22:17:26+00:00","first_seen_at":"2026-10-27T22:29:29+00:00","fetched_at":"2026-10-27T22:29:29+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}