{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-141471",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-12-01T19:53:55.304Z",
        "datePublished": "2026-12-01T20:29:58.297Z",
        "dateUpdated": "2026-12-01T20:29:58.297Z"
    },
    "containers": {
        "cna": {
            "title": "Mongoose: Built-in TLS client accepts a server certificate after issuer signature verification fails",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-295",
                            "lang": "en",
                            "description": "CWE-295: Improper Certificate Validation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 9.1,
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/cesanta/mongoose/security/advisories/GHSA-wv74-vfp5-x4cp"
                },
                {
                    "name": "https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cesanta/mongoose/commit/ca5ca3403c08c93f71b833ee24985345aff58dfd"
                },
                {
                    "name": "https://github.com/cesanta/mongoose/releases/tag/7.24",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cesanta/mongoose/releases/tag/7.24"
                }
            ],
            "affected": [
                {
                    "vendor": "cesanta",
                    "product": "mongoose",
                    "versions": [
                        {
                            "version": ">= 7.17, < 7.24",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-01T20:29:58.297Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Mongoose is an embedded web server and network library. From 7.17 until 7.24, Mongoose's MG_TLS_BUILTIN client in src/tls_builtin.c can accept an attacker-controlled server certificate chain when configured with a single DER CA certificate and processing a peer-provided chain, because mg_tls_verify_cert_signature() can return a negative issuer-key parsing result that callers negate as though verification succeeded. A crafted issuer with the trusted CA subject and public-key bytes but an unparseable RSA encoding can pair with an attacker-self-signed leaf that is not signed by the trusted CA, allowing a redirected client connection to complete a TLS 1.3 handshake and exchange application data without the trusted CA private key. This issue is fixed in 7.24."
                }
            ],
            "source": {
                "advisory": "GHSA-wv74-vfp5-x4cp",
                "discovery": "UNKNOWN"
            }
        }
    }
}