{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-2427 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2016-2427 yet. Limit exposure of the affected software until one is available.","what":"CVE-2016-2427 is a medium-severity vulnerability in Bouncycastle Bc-Java, published on 18 Apr 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-2427 and fix it if it is affected.\n\nWhat it is: CVE-2016-2427 is a medium-severity vulnerability in Bouncycastle Bc-Java, published on 18 Apr 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-2427 in the wild and no public exploit code.\n\nAffected product: Bouncycastle Bc-Java. 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-2016-2427/ (Markdown: https://insights.sbomify.com/CVE-2016-2427/index.md)","id":"CVE-2016-2427","markdown":"https://insights.sbomify.com/CVE-2016-2427/index.md","name":"CVE-2016-2427","record":{"aliases":["GHSA-727r-ghq8-fgh9"],"analysis":{"component_type":"operating_system","fix_type":"no_fix_stated","impacts":["data_read","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Android OS","requires_auth":"none","summary":"A disputed cryptographic weakness in Android's AES-GCM implementation could potentially allow attackers to discover authentication keys via crafted applications.","user_interaction":"required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"google_android","cpe":[{"product":"bc-java","vendor":"bouncycastle"},{"product":"android","vendor":"google"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The AES-GCM specification in RFC 5084, as used in Android 5.x and 6.x, recommends 12 octets for the aes-ICVlen parameter field, which might make it easier for attackers to defeat a cryptographic protection mechanism and discover an authentication key via a crafted application, aka internal bug 26234568.  NOTE: The vendor disputes the existence of this potential issue in Android, stating \"This CVE was raised in error: it referred to the authentication tag size in GCM, whose default according to ASN.1 encoding (12 bytes) can lead to vulnerabilities. After careful consideration, it was decided that the insecure default value of 12 bytes was a default only for the encoding and not default anywhere else in Android, and hence no vulnerability existed.","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":"Weak cryptography in n/a","id":"CVE-2016-2427","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"bouncycastle:bc-java","products":["bouncycastle:bc-java","google:android"],"type":"weak_cryptography","year":"2016"},"n_packages":0,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2016-2428"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2016-2426"},"products":["n/a"],"published":"2016-04-18","related":[{"cvss_score":10,"headline":"Legion of the Bouncy Castle Java Cryptography API Bleichenbacher Oracle Vulnerability","id":"CVE-2007-6721","kev_date_added":null,"published":"2009-03-30"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Bouncy castle","id":"CVE-2018-1000613","kev_date_added":null,"published":"2018-07-09"},{"cvss_score":9.3,"headline":"Stapled OCSP response accepted without binding to the checked certificate","id":"CVE-2026-58062","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"JSSE hostname verifier CN-fallback enabled by default despite documented opt-in","id":"CVE-2026-59638","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"MTI/A0 DH agreement exponentiates unvalidated peer value","id":"CVE-2026-59650","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":9.3,"headline":"Name Constraints bypass via trailing dot in rfc822Name and URI","id":"CVE-2026-8763","kev_date_added":null,"published":"2026-08-03"},{"cvss_score":8.7,"headline":"MLS membership checks compare a uint32 leaf_index as signed, admitting an out-of-range sender","id":"CVE-2026-17507","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A disputed cryptographic weakness in Android's AES-GCM implementation could potentially allow attackers to discover authentication keys via crafted applications.","url":"https://insights.sbomify.com/CVE-2016-2427/"}