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, an unbounded sscanf in res_pjsip_pubsub when parsing the MWI NOTIFY Message-Account field may allow an unauthenticated attacker to send a carefully crafted packet that causes a stack buffer overflow and corrupts the underlying transport, permanently disabling all SIP functionality. An Asterisk restart is required to restore full operation. 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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-120",
"CWE-787"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57191.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "20.20.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "20.7-cert11"
}
],
"source": "AFFECTED_FIELD",
"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",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "23.0.0-pre1"
},
{
"fixed": "23.4.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "22.8-cert1-pre1"
},
{
"fixed": "22.8-cert3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "0e89514084490070c5ecee419ec5ee37b7c49528"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "647b35c3cfd4a2cc3b1fb7560b085feba5c24b4b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "7a1ffcdf38cc76d1c4eae51651667f3fd4548ab0"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b4be3bd67ce4ac35b94fbfa860cdd9e1c906610b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "b5281828dad7d44658439ba6393fe6be3328a4bd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dca516f6d895e8867d48fa56b6ce7f05b6f7457a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ee1b66a5e40733ba0b9fad7fc4d032cabbe1dd75"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "20.20.1",
"range": [
{
"fixed": "1f072600089c8321b8c4141f431742b06cae1c66"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "21.12.3",
"range": [
{
"fixed": "b9fda9d45703e9dbae5542300bb1f11a1abe2f37"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "22.10.1",
"range": [
{
"fixed": "f0e408a7b0d829c85bf15fa4b487870a50cb3000"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "23.4.1",
"range": [
{
"fixed": "9c6d578ea138e2a5df3bbc261b82a94424d6ce53"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "certified-20.7-cert11",
"range": [
{
"fixed": "19ea385cecb1b9403e3d924bcb3d770a04d50b49"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "certified-22.8-cert3",
"range": [
{
"fixed": "3c1105ea3c80209b5420565d125dc2163eba436a"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57191.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-02c15a9e",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/7a1ffcdf38cc76d1c4eae51651667f3fd4548ab0",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-157e6931",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/0e89514084490070c5ecee419ec5ee37b7c49528",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-2580b980",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/ee1b66a5e40733ba0b9fad7fc4d032cabbe1dd75",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-42505900",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/647b35c3cfd4a2cc3b1fb7560b085feba5c24b4b",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-564fd5eb",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/7a1ffcdf38cc76d1c4eae51651667f3fd4548ab0",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-5df6f2d7",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/b4be3bd67ce4ac35b94fbfa860cdd9e1c906610b",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-6ac172c4",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/ee1b66a5e40733ba0b9fad7fc4d032cabbe1dd75",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-6fba0bd0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/dca516f6d895e8867d48fa56b6ce7f05b6f7457a",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-7131f543",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/b5281828dad7d44658439ba6393fe6be3328a4bd",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-756d5f46",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/b5281828dad7d44658439ba6393fe6be3328a4bd",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-7e45e71d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/647b35c3cfd4a2cc3b1fb7560b085feba5c24b4b",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-9a62ff24",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/dca516f6d895e8867d48fa56b6ce7f05b6f7457a",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "157433632638197077016576831919055573989",
"length": 605
},
"id": "CVE-2026-57191-b2a59edb",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/0e89514084490070c5ecee419ec5ee37b7c49528",
"target": {
"file": "res/res_pjsip_pubsub.c",
"function": "parse_simple_message_summary"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"196802074557709696383456769271669150260",
"22692118539510665806266135820951429040",
"32359863829891225643380384936408373264",
"138657109821532298122947582690166723149"
],
"threshold": 0.9
},
"id": "CVE-2026-57191-b7416267",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/asterisk/asterisk/commit/b4be3bd67ce4ac35b94fbfa860cdd9e1c906610b",
"target": {
"file": "res/res_pjsip_pubsub.c"
}
}
]
"2026-11-11T13:30:21Z"