{"id":"CVE-2026-57186","summary":"Asterisk: CVE-2022-37325 fix is absent from current chan_ooh323 Q.931 party-number parser","details":"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.","aliases":["GHSA-h5hv-jmgj-92q2"],"modified":"2026-10-30T07:21:39.395207980Z","published":"2026-10-27T21:21:55.833Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-839"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57186.json"},"references":[{"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-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-57186.json"},{"type":"ADVISORY","url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-h5hv-jmgj-92q2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57186"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/07b9740cbc371ffa7936cf368089fd073250ea7c"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/0e776a837106d5d0d14503a53388337931045164"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/42d3552d2ac0efbb68c9ec7ade898b6de0bfa033"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/46c6c652d1de9bfbb061fab0b1f681cf60660998"},{"type":"FIX","url":"https://github.com/asterisk/asterisk/commit/62a7a7037b1a145cabf95895b119cbae4d3c5a4f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asterisk/asterisk","events":[{"introduced":"68349125a8a825b0995b4ab1343c61bdb2ad33e5"},{"fixed":"b9fda9d45703e9dbae5542300bb1f11a1abe2f37"},{"introduced":"31b8dc09238d916be18d93dc7dda30711e636c17"},{"fixed":"f0e408a7b0d829c85bf15fa4b487870a50cb3000"},{"introduced":"ca5335d90ea8dc26fa2ea189f9621b1d8a4a3513"},{"fixed":"9c6d578ea138e2a5df3bbc261b82a94424d6ce53"},{"introduced":"5da1497b742194b535f13e155b87bd698772a4b6"},{"fixed":"3c1105ea3c80209b5420565d125dc2163eba436a"},{"fixed":"07b9740cbc371ffa7936cf368089fd073250ea7c"},{"fixed":"0e776a837106d5d0d14503a53388337931045164"},{"fixed":"42d3552d2ac0efbb68c9ec7ade898b6de0bfa033"},{"fixed":"46c6c652d1de9bfbb061fab0b1f681cf60660998"},{"fixed":"62a7a7037b1a145cabf95895b119cbae4d3c5a4f"}],"database_specific":{"extracted_events":[{"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"},{"range":[{"introduced":"23.0.0-pre1"},{"fixed":"23.4.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"22.8-cert1-pre1"},{"fixed":"22.8-cert3"}]},{"range":[{"fixed":"07b9740cbc371ffa7936cf368089fd073250ea7c"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"0e776a837106d5d0d14503a53388337931045164"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"42d3552d2ac0efbb68c9ec7ade898b6de0bfa033"}]},{"range":[{"fixed":"46c6c652d1de9bfbb061fab0b1f681cf60660998"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"62a7a7037b1a145cabf95895b119cbae4d3c5a4f"}],"source":"REFERENCES_COMMIT"},{"original_tag":"21.12.3","range":[{"fixed":"b9fda9d45703e9dbae5542300bb1f11a1abe2f37"}],"source":"REFERENCES_TAG"},{"source":"REFERENCES_TAG","original_tag":"22.10.1","range":[{"fixed":"f0e408a7b0d829c85bf15fa4b487870a50cb3000"}]},{"original_tag":"23.4.1","range":[{"fixed":"9c6d578ea138e2a5df3bbc261b82a94424d6ce53"}],"source":"REFERENCES_TAG"},{"original_tag":"certified-22.8-cert3","range":[{"fixed":"3c1105ea3c80209b5420565d125dc2163eba436a"}],"source":"REFERENCES_TAG"}]}}],"versions":["23.4.0","22.10.0","certified-22.8-cert2","21.12.2","23.4.0-rc1","22.10.0-rc1","23.3.0","22.9.0","23.3.0-rc2","22.9.0-rc2","23.3.0-rc1","22.9.0-rc1","certified-22.8-cert1-pre1","22.8.2","23.2.2","certified-22.8-cert1","21.12.1","certified-22.8-cert1-rc1","23.2.1","21.12.0","23.2.0","23.2.0-rc1","23.1.0","21.12.0-rc2","23.1.0-rc2","23.1.0-rc1","21.12.0-rc1","23.0.0","21.11.0","23.0.0-rc2","21.11.0-rc2","23.0.0-rc1","21.11.0-rc1","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","21.9.0-rc1","21.8.0","21.8.0-rc1","21.7.0","21.7.0-rc2","21.7.0-rc1","21.6.1","21.6.0","21.6.0-rc1","21.5.0","21.5.0-rc2","21.5.0-rc1","21.4.3","21.4.2","21.4.1","21.4.0","21.4.0-rc1","21.3.1","21.3.0","21.3.0-rc1","21.2.0","21.2.0-rc2","21.2.0-rc1","21.1.0","21.1.0-rc2","21.1.0-rc1","21.0.2","21.0.1","21.0.0","21.0.0-rc1","21.0.0-pre1"],"database_specific":{"vanir_signatures":[{"id":"CVE-2026-57186-00246556","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/62a7a7037b1a145cabf95895b119cbae4d3c5a4f","target":{"file":"addons/ooh323c/src/ooq931.c","function":"ooQ931Decode"},"deprecated":false,"digest":{"length":4550,"function_hash":"177285819229495693784896294248757282551"}},{"target":{"file":"addons/ooh323c/src/ooq931.c","function":"ooQ931Decode"},"deprecated":false,"digest":{"function_hash":"177285819229495693784896294248757282551","length":4550},"id":"CVE-2026-57186-0d6c2523","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/42d3552d2ac0efbb68c9ec7ade898b6de0bfa033"},{"signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/0e776a837106d5d0d14503a53388337931045164","target":{"file":"addons/ooh323c/src/ooq931.c","function":"ooQ931Decode"},"deprecated":false,"digest":{"function_hash":"177285819229495693784896294248757282551","length":4550},"id":"CVE-2026-57186-3f06b2ca","signature_type":"Function"},{"deprecated":false,"digest":{"function_hash":"177285819229495693784896294248757282551","length":4550},"id":"CVE-2026-57186-60140676","signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/07b9740cbc371ffa7936cf368089fd073250ea7c","target":{"file":"addons/ooh323c/src/ooq931.c","function":"ooQ931Decode"}},{"id":"CVE-2026-57186-731986f4","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/0e776a837106d5d0d14503a53388337931045164","target":{"file":"addons/ooh323c/src/ooq931.c"},"deprecated":false,"digest":{"line_hashes":["74819949498800144831740433535646853414","61175236798178740373464802717063299996","14539017099487436529882266003747590058","192641109738172421470572984454687314438","305841650906708722672930373330393520612","181660858862746617509588909501483007467","185039889256870314489361034990951048750","192031943216148628310913763032283349291","1080791488093544946784530906069583560","210365362552144406327076447821672166622","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254","304576352739068262195737529375736758208","205255730417904436241654709369627959229","188167608329527590596760048156046562463","162605236957938920816454909410807973085","325513162712557087262652797611585416970","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254"],"threshold":0.9}},{"deprecated":false,"digest":{"line_hashes":["74819949498800144831740433535646853414","61175236798178740373464802717063299996","14539017099487436529882266003747590058","192641109738172421470572984454687314438","305841650906708722672930373330393520612","181660858862746617509588909501483007467","185039889256870314489361034990951048750","192031943216148628310913763032283349291","1080791488093544946784530906069583560","210365362552144406327076447821672166622","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254","304576352739068262195737529375736758208","205255730417904436241654709369627959229","188167608329527590596760048156046562463","162605236957938920816454909410807973085","325513162712557087262652797611585416970","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254"],"threshold":0.9},"id":"CVE-2026-57186-9fec9e45","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/62a7a7037b1a145cabf95895b119cbae4d3c5a4f","target":{"file":"addons/ooh323c/src/ooq931.c"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/46c6c652d1de9bfbb061fab0b1f681cf60660998","target":{"file":"addons/ooh323c/src/ooq931.c"},"deprecated":false,"digest":{"line_hashes":["74819949498800144831740433535646853414","61175236798178740373464802717063299996","14539017099487436529882266003747590058","192641109738172421470572984454687314438","305841650906708722672930373330393520612","181660858862746617509588909501483007467","185039889256870314489361034990951048750","192031943216148628310913763032283349291","1080791488093544946784530906069583560","210365362552144406327076447821672166622","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254","304576352739068262195737529375736758208","205255730417904436241654709369627959229","188167608329527590596760048156046562463","162605236957938920816454909410807973085","325513162712557087262652797611585416970","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254"],"threshold":0.9},"id":"CVE-2026-57186-b6cb4e7a"},{"id":"CVE-2026-57186-c0a5d689","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/42d3552d2ac0efbb68c9ec7ade898b6de0bfa033","target":{"file":"addons/ooh323c/src/ooq931.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["74819949498800144831740433535646853414","61175236798178740373464802717063299996","14539017099487436529882266003747590058","192641109738172421470572984454687314438","305841650906708722672930373330393520612","181660858862746617509588909501483007467","185039889256870314489361034990951048750","192031943216148628310913763032283349291","1080791488093544946784530906069583560","210365362552144406327076447821672166622","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254","304576352739068262195737529375736758208","205255730417904436241654709369627959229","188167608329527590596760048156046562463","162605236957938920816454909410807973085","325513162712557087262652797611585416970","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254"]}},{"id":"CVE-2026-57186-c0f91e09","signature_type":"Line","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/07b9740cbc371ffa7936cf368089fd073250ea7c","target":{"file":"addons/ooh323c/src/ooq931.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["74819949498800144831740433535646853414","61175236798178740373464802717063299996","14539017099487436529882266003747590058","192641109738172421470572984454687314438","305841650906708722672930373330393520612","181660858862746617509588909501483007467","185039889256870314489361034990951048750","192031943216148628310913763032283349291","1080791488093544946784530906069583560","210365362552144406327076447821672166622","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254","304576352739068262195737529375736758208","205255730417904436241654709369627959229","188167608329527590596760048156046562463","162605236957938920816454909410807973085","325513162712557087262652797611585416970","139870451406385216470030304143650477883","3388842224040072405780736311102054481","31363283984289425942190537300824585254"]}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/asterisk/asterisk/commit/46c6c652d1de9bfbb061fab0b1f681cf60660998","target":{"file":"addons/ooh323c/src/ooq931.c","function":"ooQ931Decode"},"deprecated":false,"digest":{"function_hash":"177285819229495693784896294248757282551","length":4550},"id":"CVE-2026-57186-db041651"}],"vanir_signatures_modified":"2026-10-30T07:21:39Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57186.json"}}],"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"}]}