{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-12852",
        "assignerOrgId": "91579145-5d7b-4cc5-b925-a0262ff19630",
        "state": "PUBLISHED",
        "assignerShortName": "bcorg",
        "dateReserved": "2026-06-22T03:41:00.916Z",
        "datePublished": "2026-08-03T02:55:02.485Z",
        "dateUpdated": "2026-08-03T15:11:39.086Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "91579145-5d7b-4cc5-b925-a0262ff19630",
                "shortName": "bcorg",
                "dateUpdated": "2026-08-03T05:56:59.481Z"
            },
            "title": "MLS wire decoder allocates attacker-declared opaque length before bounds check",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-789",
                            "description": "CWE-789 Memory Allocation with Excessive Size Value",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Legion of the Bouncy Castle Inc.",
                    "product": "BC-JAVA",
                    "platforms": [
                        "all"
                    ],
                    "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java/",
                    "packageName": "bcmls",
                    "repo": "https://github.com/bcgit/bc-java",
                    "packageURL": "pkg:maven/org.bouncycastle/bcmls-jdk18on",
                    "modules": [
                        "mls"
                    ],
                    "programFiles": [
                        "MLSInputStream"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.73",
                            "lessThan": "1.85",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>In Bouncy Castle for Java before 1.85, MLS wire decoder allocates attacker-declared opaque length before bounds check.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9012852",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/bcgit/bc-java/commit/a747038bb5bbd5e29fb2b7607ab38af1fd8d1790",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subAvailabilityImpact": "NONE",
                        "exploitMaturity": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "valueDensity": "NOT_DEFINED",
                        "vulnerabilityResponseEffort": "NOT_DEFINED",
                        "providerUrgency": "AMBER",
                        "version": "4.0",
                        "baseSeverity": "HIGH",
                        "baseScore": 8.7,
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Amber"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Alex Gaynor in collaboration with Claude and Anthropic Research",
                    "type": "reporter"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "x_generator": {
                "engine": "bc release-notes template"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-03T15:11:15.405624Z",
                                "id": "CVE-2026-12852",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "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": "2026-08-03T15:11:39.086Z"
                }
            }
        ]
    }
}