{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-16001 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-16001 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-16001 is a high-severity vulnerability in Legion of the Bouncy Castle Inc. bc-csharp, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-16001 and fix it if it is affected.\n\nWhat it is: CVE-2026-16001 is a high-severity vulnerability in Legion of the Bouncy Castle Inc. bc-csharp, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-16001 in the wild and no public exploit code.\n\nAffected product: Legion of the Bouncy Castle Inc. bc-csharp. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-16001/ (Markdown: https://insights.sbomify.com/CVE-2026-16001/index.md)","id":"CVE-2026-16001","markdown":"https://insights.sbomify.com/CVE-2026-16001/index.md","name":"CVE-2026-16001","record":{"aliases":["GHSA-43qj-h4fh-p2h4"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"C# cryptography library","requires_auth":"none","summary":"Remote attackers can forge authenticated messages in Bouncy Castle C# stream mode by exploiting a key derivation flaw that leaks the MAC key.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"bcorg","cpe":[{"product":"bc-csharp","vendor":"bouncycastle"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"}],"description":"Exposure of the message authentication key through the encryption keystream in the stream mode of IesEngine (an IesEngine constructed without a block cipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote attacker who has observed one encrypted message with known plaintext to forge shorter messages of their choosing that the recipient accepts as authentic, via a crafted ciphertext and MAC tag, because the MAC key was taken from the key derivation output directly after a keystream as long as the message, while the derivation input depends only on the static key pair and fixed parameters. The keystream revealed by that one message therefore contains the MAC key for every sufficiently shorter message.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"IesEngine stream-mode MAC forgery via length-dependent KDF split","id":"CVE-2026-16001","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Out-of-bounds Read in MZ Automation lib60870","id":"CVE-2026-16002"},"packages":[],"prev":{"headline":"KCcmBlockCipher (DSTU 7624 CCM) tag not bound to nonce when no associated data is used","id":"CVE-2026-16000"},"products":["bc-csharp"],"published":"2026-10-02","related":[{"cvss_score":9.1,"headline":"MTI/A0 DHAgreement does not validate the peer's ephemeral value","id":"CVE-2026-63569","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Unbounded ASN.1 nesting depth causes process-terminating stack overflow","id":"CVE-2026-103600","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Unbounded HSS public key level count allows huge array allocation during signature verification","id":"CVE-2026-103603","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Quadratic-time escaping when converting X.509 distinguished names to strings","id":"CVE-2026-103604","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"KCcmBlockCipher (DSTU 7624 CCM) tag not bound to nonce when no associated data is used","id":"CVE-2026-16000","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"DTLS handshake reassembler allocates buffer from unchecked 24-bit length","id":"CVE-2026-63566","kev_date_added":null,"published":"2026-10-02"},{"cvss_score":8.7,"headline":"Unbounded CMP/CRMF password-based MAC iteration count allows CPU exhaustion","id":"CVE-2026-63568","kev_date_added":null,"published":"2026-10-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-02","vendors":["Legion of the Bouncy Castle Inc."]},"summary":"Remote attackers can forge authenticated messages in Bouncy Castle C# stream mode by exploiting a key derivation flaw that leaks the MAC key.","url":"https://insights.sbomify.com/CVE-2026-16001/"}