{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-57193",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-24T02:00:46.800Z",
        "datePublished": "2026-10-26T19:46:01.924Z",
        "dateUpdated": "2026-10-26T19:46:01.924Z"
    },
    "containers": {
        "cna": {
            "title": "Asterisk: LDAP Filter Injection in res_config_ldap via SIP Username (Unauthenticated Information Disclosure)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-943",
                            "lang": "en",
                            "description": "CWE-943: Improper Neutralization of Special Elements in Data Query Logic",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/asterisk/asterisk/security/advisories/GHSA-r6c2-hwc2-j4mp",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/asterisk/asterisk/security/advisories/GHSA-r6c2-hwc2-j4mp"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/04aa482212e43b292817444eb4de35499f4b1568"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/14968f2f440ea0dd983caa4f477237a5224904dd"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/23c01b6d359c5d85da725beea89e394a6c031c5d"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/7e1ae09594a101950398cc6aff2dd2e5ab314884"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/8170a6bfa75994e7617a8b9d7fe7a7140b70cbe2"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/dd0c768d9e9678e4cb1ed95689a254a61452239b"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/commit/ef280572a034cac3994075298facb1999778ee0d"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/releases/tag/20.20.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/releases/tag/20.20.1"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/releases/tag/21.12.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/releases/tag/21.12.3"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/releases/tag/22.10.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/releases/tag/22.10.1"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/releases/tag/23.4.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/releases/tag/23.4.1"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"
                },
                {
                    "name": "https://github.com/asterisk/asterisk/tree/24.0.0-pre1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/asterisk/asterisk/tree/24.0.0-pre1"
                }
            ],
            "affected": [
                {
                    "vendor": "asterisk",
                    "product": "asterisk",
                    "versions": [
                        {
                            "version": "< 20.20.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 21.0.0-pre1, < 21.12.3",
                            "status": "affected"
                        },
                        {
                            "version": ">= 22.0.0-pre1, < 22.10.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 23.0.0-pre1, < 23.4.1",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "asterisk",
                    "product": "certified-asterisk",
                    "versions": [
                        {
                            "version": "< 20.7-cert11",
                            "status": "affected"
                        },
                        {
                            "version": ">= 22.8-cert1-pre1, < 22.8-cert3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-26T19:46:01.924Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-r6c2-hwc2-j4mp",
                "discovery": "UNKNOWN"
            }
        }
    }
}