{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-61729",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2025-09-30T15:05:03.605Z",
        "datePublished": "2025-12-02T18:54:10.166Z",
        "dateUpdated": "2025-12-03T19:37:14.903Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2025-12-03T19:37:14.903Z"
            },
            "title": "Excessive resource consumption when printing error string for host certificate validation in crypto/x509",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption."
                }
            ],
            "affected": [
                {
                    "vendor": "Go standard library",
                    "product": "crypto/x509",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "crypto/x509",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.24.11",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.25.0",
                            "lessThan": "1.25.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programRoutines": [
                        {
                            "name": "Certificate.VerifyHostname"
                        },
                        {
                            "name": "Certificate.Verify"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-400: Uncontrolled Resource Consumption"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/cl/725920"
                },
                {
                    "url": "https://go.dev/issue/76445"
                },
                {
                    "url": "https://groups.google.com/g/golang-announce/c/8FJoBkPddm4"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2025-4155"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Philippe Antoine (Catena cyber)"
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.5,
                            "attackVector": "NETWORK",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-12-02T21:52:36.341575Z",
                                "id": "CVE-2025-61729",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-12-02T21:52:58.224Z"
                }
            }
        ]
    }
}