{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-71884",
        "tracking": {
            "current_release_date": "2026-10-25T19:22:24.157588Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-71884",
            "initial_release_date": "2026-10-09T10:38:48.294294Z",
            "revision_history": [
                {
                    "date": "2026-10-09T10:38:48.294294Z",
                    "number": "1",
                    "summary": "CVSS created.| CWES created (1).| Products created (1).| References created (1).| Description created for source.| Unknown change."
                },
                {
                    "date": "2026-10-09T10:38:49.510362Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-10-09T10:40:47.100743Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-10-09T10:40:51.963972Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-10-10T15:15:13.832369Z",
                    "number": "5",
                    "summary": "EPSS created.| Unknown change."
                },
                {
                    "date": "2026-10-10T15:15:39.287436Z",
                    "number": "6",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-10-12T07:21:08.952572Z",
                    "number": "7",
                    "summary": "CVSS created.| CWES created (1).| Products created (8).| References created (4).| Description created for source.| Unknown change."
                },
                {
                    "date": "2026-10-12T07:21:11.790432Z",
                    "number": "8",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-10-12T12:05:31.494385Z",
                    "number": "9",
                    "summary": "Source created.| CVE status created. (valid)| Products connected (1).| References created (4)."
                },
                {
                    "date": "2026-10-12T12:05:33.820836Z",
                    "number": "10",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-10-13T00:28:58.322073Z",
                    "number": "11",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (2).| Product Identifiers created (1).| Product Remediations created (2).| References created (3).| CWES updated (1).| Vendor_assessment created."
                },
                {
                    "date": "2026-10-13T00:29:09.645355Z",
                    "number": "12",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-10-20T00:06:33.857544Z",
                    "number": "13",
                    "summary": "Unknown change."
                },
                {
                    "date": "2026-10-20T00:06:44.741128Z",
                    "number": "14",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-10-25T15:16:32.866614Z",
                    "number": "15",
                    "summary": "EPSS updated."
                },
                {
                    "date": "2026-10-25T15:21:56.349696Z",
                    "number": "16",
                    "summary": "NCSC Score updated."
                }
            ],
            "status": "interim",
            "version": "16"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:maven/2.73.4|<2.73.13",
                                "product": {
                                    "name": "vers:maven/2.73.4|<2.73.13",
                                    "product_id": "CSAFPID-9514899"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "BC-LTS-JAVA"
                    }
                ],
                "category": "vendor",
                "name": "Legion of the Bouncy Castle Inc."
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/java lts <2.73.13",
                                "product": {
                                    "name": "vers:unknown/java lts <2.73.13",
                                    "product_id": "CSAFPID-9522919"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "Bouncy Castle"
                    }
                ],
                "category": "vendor",
                "name": "Open Source"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:rpm/3",
                                "product": {
                                    "name": "vers:rpm/3",
                                    "product_id": "CSAFPID-2656600",
                                    "product_identification_helper": {
                                        "cpe": "cpe:/a:redhat:apicurio_registry:3"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "Red Hat build of Apicurio Registry 3"
                    },
                    {
                        "branches": [
                            {
                                "branches": [
                                    {
                                        "category": "product_version_range",
                                        "name": "vers:rpm/unknown",
                                        "product": {
                                            "name": "vers:rpm/unknown",
                                            "product_id": "CSAFPID-5151228"
                                        }
                                    }
                                ],
                                "category": "product_name",
                                "name": "bcprov-lts8on"
                            }
                        ],
                        "category": "product_family",
                        "name": "Red Hat build of Apicurio Registry 3"
                    }
                ],
                "category": "vendor",
                "name": "Red Hat"
            },
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot10",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot10",
                                    "product_id": "CSAFPID-8883157"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot11",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot11",
                                    "product_id": "CSAFPID-8883156"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot12",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot12",
                                    "product_id": "CSAFPID-8883155"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot12dot1",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot12dot1",
                                    "product_id": "CSAFPID-9539886"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot4",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot4",
                                    "product_id": "CSAFPID-8652339"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot6",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot6",
                                    "product_id": "CSAFPID-8652338"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot8",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot8",
                                    "product_id": "CSAFPID-8883159"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/r2rv73dot9",
                                "product": {
                                    "name": "vers:unknown/r2rv73dot9",
                                    "product_id": "CSAFPID-8883158"
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "bc-lts-java"
                    }
                ],
                "category": "vendor",
                "name": "bcgit"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-71884",
            "cwe": {
                "id": "CWE-323",
                "name": "Reusing a Nonce, Key Pair in Encryption"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "In Bouncy Castle for Java LTS before 2.73.13, the native one-shot CTR packet cipher did not check that the requested input length fitted the counter space the IV left. In CTR mode the IV and the block counter share one 16-byte block, so an IV of 13 to 15 bytes leaves a counter of only 1 to 3 bytes, addressing 256, 65536 or 16777216 blocks respectively. Given a longer input the counter wrapped and the keystream repeated from the start of the same packet, and the call then returned the full input length as though every byte had been correctly transformed. Two segments of the message were therefore encrypted under the same keystream, so their plaintexts can be recovered from the ciphertext alone, without the key, while the caller saw neither an exception nor a short length to indicate it. The streaming implementation validates at init and again while processing, and the portable AESCTRPacketCipher rejects such a request with \"Counter in CTR/SIC mode out of range.\", but the native one-shot path has a single entry point and performed no counter-range validation there. It now preflights the IV-derived counter range and rejects an over-long request before any output is written, so the operation is failure-atomic and never reports success for bytes it did not correctly transform. A counter of four bytes or more cannot be exhausted by a Java int length and is unaffected, as is a full 16-byte IV, where the counter range is the caller's responsibility. Bouncy Castle for Java (bcprov) is not affected, as it ships no native implementations.",
                    "title": "osvgit - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/GIT%2FCVE-2026-71884.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "In Bouncy Castle for Java LTS before 2.73.13, the native one-shot CTR packet cipher did not check that the requested input length fitted the counter space the IV left. In CTR mode the IV and the block counter share one 16-byte block, so an IV of 13 to 15 bytes leaves a counter of only 1 to 3 bytes, addressing 256, 65536 or 16777216 blocks respectively. Given a longer input the counter wrapped and the keystream repeated from the start of the same packet, and the call then returned the full input length as though every byte had been correctly transformed. Two segments of the message were therefore encrypted under the same keystream, so their plaintexts can be recovered from the ciphertext alone, without the key, while the caller saw neither an exception nor a short length to indicate it. The streaming implementation validates at init and again while processing, and the portable AESCTRPacketCipher rejects such a request with \"Counter in CTR/SIC mode out of range.\", but the native one-shot path has a single entry point and performed no counter-range validation there. It now preflights the IV-derived counter range and rejects an over-long request before any output is written, so the operation is failure-atomic and never reports success for bytes it did not correctly transform. A counter of four bytes or more cannot be exhausted by a Java int length and is unaffected, as is a full 16-byte IV, where the counter range is the caller's responsibility. Bouncy Castle for Java (bcprov) is not affected, as it ships no native implementations.\nA flaw was found in Bouncy Castle. The native one-shot Counter (CTR) mode cipher fails to verify that the input data length fits within the counter space defined by the initialization vector. When processing overly long inputs, the counter wraps around and causes the keystream to repeat. This flaw allows an attacker to recover sensitive plaintext directly from the ciphertext without the encryption key, resulting in information disclosure.\nA flaw was found in Bouncy Castle's native one-shot Counter (CTR) mode cipher implementation. When processing a message with a short counter space (initialization vector of 13 to 15 bytes), the native path fails to validate if the input length exceeds the available counter range. Processing an overly long input causes the block counter to wrap, leading to keystream repetition within the same packet. A remote unauthenticated attacker can exploit this keystream reuse to recover sensitive plaintext directly from the ciphertext without knowing the encryption key.",
                    "title": "redhat - https://access.redhat.com/security/cve/CVE-2026-71884"
                },
                {
                    "category": "description",
                    "text": "In Bouncy Castle for Java LTS before 2.73.13, the native one-shot CTR packet cipher did not check that the requested input length fitted the counter space the IV left. In CTR mode the IV and the block counter share one 16-byte block, so an IV of 13 to 15 bytes leaves a counter of only 1 to 3 bytes, addressing 256, 65536 or 16777216 blocks respectively. Given a longer input the counter wrapped and the keystream repeated from the start of the same packet, and the call then returned the full input length as though every byte had been correctly transformed. Two segments of the message were therefore encrypted under the same keystream, so their plaintexts can be recovered from the ciphertext alone, without the key, while the caller saw neither an exception nor a short length to indicate it. The streaming implementation validates at init and again while processing, and the portable AESCTRPacketCipher rejects such a request with \"Counter in CTR/SIC mode out of range.\", but the native one-shot path has a single entry point and performed no counter-range validation there. It now preflights the IV-derived counter range and rejects an over-long request before any output is written, so the operation is failure-atomic and never reports success for bytes it did not correctly transform. A counter of four bytes or more cannot be exhausted by a Java int length and is unaffected, as is a full 16-byte IV, where the counter range is the caller's responsibility. Bouncy Castle for Java (bcprov) is not affected, as it ships no native implementations.",
                    "title": "nvd - https://nvd.nist.gov/vuln/detail/CVE-2026-71884"
                },
                {
                    "category": "description",
                    "text": "In Bouncy Castle for Java LTS before 2.73.13, the native one-shot CTR packet cipher did not check that the requested input length fitted the counter space the IV left. In CTR mode the IV and the block counter share one 16-byte block, so an IV of 13 to 15 bytes leaves a counter of only 1 to 3 bytes, addressing 256, 65536 or 16777216 blocks respectively. Given a longer input the counter wrapped and the keystream repeated from the start of the same packet, and the call then returned the full input length as though every byte had been correctly transformed. Two segments of the message were therefore encrypted under the same keystream, so their plaintexts can be recovered from the ciphertext alone, without the key, while the caller saw neither an exception nor a short length to indicate it. The streaming implementation validates at init and again while processing, and the portable AESCTRPacketCipher rejects such a request with \"Counter in CTR/SIC mode out of range.\", but the native one-shot path has a single entry point and performed no counter-range validation there. It now preflights the IV-derived counter range and rejects an over-long request before any output is written, so the operation is failure-atomic and never reports success for bytes it did not correctly transform. A counter of four bytes or more cannot be exhausted by a Java int length and is unaffected, as is a full 16-byte IV, where the counter range is the caller's responsibility. Bouncy Castle for Java (bcprov) is not affected, as it ships no native implementations.",
                    "title": "cveprojectv5 - https://www.cve.org/CVERecord?id=CVE-2026-71884"
                },
                {
                    "category": "other",
                    "text": "0.00253",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/U:Amber",
                    "title": "CVSSV4"
                },
                {
                    "category": "other",
                    "text": "8.2",
                    "title": "CVSSV4 base score"
                },
                {
                    "category": "other",
                    "text": "4.6",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "There is product data available from source Certbundde",
                    "title": "NCSC Score top increasing factors"
                },
                {
                    "category": "other",
                    "text": "There is cwe data available from source Nvd, Is related to (a version of) an uncommon product, Is related to a product by vendor Open Source",
                    "title": "NCSC Score top decreasing factors"
                },
                {
                    "category": "details",
                    "text": "Severity: 2\n",
                    "title": "Vendor assessment"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-9514899",
                    "CSAFPID-8883157",
                    "CSAFPID-8883156",
                    "CSAFPID-8883155",
                    "CSAFPID-9539886",
                    "CSAFPID-8652339",
                    "CSAFPID-8652338",
                    "CSAFPID-8883159",
                    "CSAFPID-8883158",
                    "CSAFPID-9522919",
                    "CSAFPID-2656600",
                    "CSAFPID-5151228"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://www.cve.org/CVERecord?id=CVE-2026-71884"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-71884"
                },
                {
                    "category": "external",
                    "summary": "Source - ncscclear",
                    "url": "https://vulnerabilities.ncsc.nl/manual/CVE-2026-71884"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/GIT%2FCVE-2026-71884.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3862.json"
                },
                {
                    "category": "external",
                    "summary": "Source - redhat",
                    "url": "https://access.redhat.com/security/cve/CVE-2026-71884"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde; cveprojectv5; nvd; osv; redhat",
                    "url": "https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902026%E2%80%9071884"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71884.json"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv; redhat",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-71884"
                },
                {
                    "category": "external",
                    "summary": "Reference - osv",
                    "url": "https://www.bouncycastle.org/download/bouncy-castle-java-lts/"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3862.json"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-3862"
                },
                {
                    "category": "external",
                    "summary": "Reference - certbundde",
                    "url": "https://github.com/advisories/GHSA-QGFP-X9W9-PWJ2"
                },
                {
                    "category": "external",
                    "summary": "Reference - redhat",
                    "url": "https://www.cve.org/CVERecord?id=CVE-2026-71884"
                }
            ],
            "remediations": [
                {
                    "category": "mitigation",
                    "details": "Configure applications using Bouncy Castle to use Java-based streaming CTR mode ciphers or ensure Initialization Vectors (IVs) are restricted to 12 bytes or fewer to prevent counter exhaustion. Alternatively, enforce application-level input payload limits that do not exceed the counter space.",
                    "product_ids": [
                        "CSAFPID-2656600",
                        "CSAFPID-5151228"
                    ]
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM"
                    },
                    "products": [
                        "CSAFPID-2656600",
                        "CSAFPID-5151228",
                        "CSAFPID-8652338",
                        "CSAFPID-8652339",
                        "CSAFPID-8883155",
                        "CSAFPID-8883156",
                        "CSAFPID-8883157",
                        "CSAFPID-8883158",
                        "CSAFPID-8883159",
                        "CSAFPID-9514899",
                        "CSAFPID-9522919",
                        "CSAFPID-9539886"
                    ]
                }
            ],
            "title": "CVE-2026-71884"
        }
    ]
}