CVE-2026-57193

Source
https://cve.org/CVERecord?id=CVE-2026-57193
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57193.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57193
Aliases
  • GHSA-r6c2-hwc2-j4mp
Downstream
Published
2026-10-26T19:46:01Z
Modified
2026-11-11T13:30:20Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Asterisk: LDAP Filter Injection in res_config_ldap via SIP Username (Unauthenticated Information Disclosure)
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, the LDAP realtime driver res_config_ldap may permit LDAP filter injection through a SIP username, allowing an unauthenticated attacker to make arbitrary LDAP queries using carefully crafted SIP packets and disclose information. The res_config_ldap module must be loaded and configured to access an LDAP server, which is not the default. 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-943"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57193.json"
}
References

Affected packages

Git / github.com/asterisk/asterisk

Affected ranges

Type
GIT
Repo
https://github.com/asterisk/asterisk
Events
Database specific
Show details
{
    "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": "04aa482212e43b292817444eb4de35499f4b1568"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "14968f2f440ea0dd983caa4f477237a5224904dd"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "23c01b6d359c5d85da725beea89e394a6c031c5d"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "7e1ae09594a101950398cc6aff2dd2e5ab314884"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "dd0c768d9e9678e4cb1ed95689a254a61452239b"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "ef280572a034cac3994075298facb1999778ee0d"
                }
            ],
            "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"
        }
    ]
}

Affected versions

20.*
20.10.0
20.10.0-rc1
20.10.0-rc2
20.11.0
20.11.0-rc1
20.11.1
20.12.0
20.12.0-rc1
20.12.0-rc2
20.13.0
20.13.0-rc1
20.14.0
20.14.0-rc1
20.15.0
20.15.0-rc1
20.15.0-rc2
20.15.0-rc3
20.15.1
20.15.2
20.16.0
20.16.0-rc1
20.16.0-rc2
20.17.0
20.17.0-rc1
20.17.0-rc2
20.18.0
20.18.0-rc1
20.18.1
20.18.2
20.19.0
20.19.0-rc1
20.19.0-rc2
20.2.0
20.2.0-rc1
20.2.1
20.20.0
20.20.0-rc1
20.3.0
20.3.0-rc1
20.3.1
20.4.0
20.4.0-rc1
20.4.0-rc2
20.5.0
20.5.0-rc1
20.5.1
20.5.2
20.6.0
20.6.0-rc1
20.6.0-rc2
20.7.0
20.7.0-rc1
20.7.0-rc2
20.8.0
20.8.0-rc1
20.8.1
20.9.0
20.9.0-rc1
20.9.1
20.9.2
20.9.3
21.*
21.0.0
21.0.0-pre1
21.0.0-rc1
21.0.1
21.0.2
21.1.0
21.1.0-rc1
21.1.0-rc2
21.10.0
21.10.0-rc1
21.10.0-rc2
21.10.0-rc3
21.10.1
21.10.2
21.11.0
21.11.0-rc1
21.11.0-rc2
21.12.0
21.12.0-rc1
21.12.0-rc2
21.12.1
21.12.2
21.2.0
21.2.0-rc1
21.2.0-rc2
21.3.0
21.3.0-rc1
21.3.1
21.4.0
21.4.0-rc1
21.4.1
21.4.2
21.4.3
21.5.0
21.5.0-rc1
21.5.0-rc2
21.6.0
21.6.0-rc1
21.6.1
21.7.0
21.7.0-rc1
21.7.0-rc2
21.8.0
21.8.0-rc1
21.9.0
21.9.0-rc1
22.*
22.10.0
22.10.0-rc1
22.8.2
22.9.0
22.9.0-rc1
22.9.0-rc2
23.*
23.0.0
23.0.0-pre1
23.0.0-rc1
23.0.0-rc2
23.1.0
23.1.0-rc1
23.1.0-rc2
23.2.0
23.2.0-rc1
23.2.1
23.2.2
23.3.0
23.3.0-rc1
23.3.0-rc2
23.4.0
23.4.0-rc1
certified-20.*
certified-20.7-cert1
certified-20.7-cert1-pre1
certified-20.7-cert1-rc1
certified-20.7-cert1-rc2
certified-20.7-cert10
certified-20.7-cert2
certified-20.7-cert3
certified-20.7-cert4
certified-20.7-cert5
certified-20.7-cert6
certified-20.7-cert7
certified-20.7-cert8
certified-20.7-cert9
certified-22.*
certified-22.8-cert1
certified-22.8-cert1-pre1
certified-22.8-cert1-rc1
certified-22.8-cert2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57193.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-42bd7a1b",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-4bd417c6",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-621dad53",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-7408f038",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-8069ec9a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-88a827dd",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-a62aaf29",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-bb36b359",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-bb93dccb",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-c381ed44",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-d7a3c7b7",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-dbaea89a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "257788551499653089160498353887670131486",
                "219632621010636830429300443800719088321",
                "77455805420332005737623455666348290288",
                "281080920920797716969079114467666973536",
                "295396362937050293126899881524658636989",
                "15939563640172940011845078335951407273",
                "60237726291271367849742594128856072210",
                "305525161461083751121738516337061853539",
                "2480978910996399509057201668197560995",
                "309324655467484104075932249417808486924",
                "238495152556808438730021092048277567307",
                "195880880664808117978912701509361685511",
                "240477343352241890579621095355178772293",
                "179697861645137061062660640113890716235",
                "214487204965979911330966295245390263872"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-57193-ead2b45a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2",
        "target": {
            "file": "res/res_config_ldap.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "326160778659003021183628866272340832136",
            "length": 544
        },
        "id": "CVE-2026-57193-eccc0067",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884",
        "target": {
            "file": "res/res_config_ldap.c",
            "function": "append_var_and_value_to_filter"
        }
    }
]
vanir_signatures_modified
"2026-11-11T13:30:20Z"