{"cve":"CVE-2020-26939","nvd":{"published":"2020-11-02T22:15:13.393","modified":"2026-06-17T03:08:35.110","status":"Modified","description":"In Legion of the Bouncy Castle BC before 1.61 and BC-FJA before 1.0.1.2, attackers can obtain sensitive information about a private exponent because of Observable Differences in Behavior to Error Inputs. This occurs in org.bouncycastle.crypto.encodings.OAEPEncoding. Sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder could result in the throwing of an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-203"],"references":["https://github.com/bcgit/bc-java/wiki/CVE-2020-26939","https://lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e%40%3Cissues.solr.apache.org%3E","https://github.com/bcgit/bc-java/wiki/CVE-2020-26939","https://lists.apache.org/thread.html/r8c36ba34e80e05eecb1f80071cc834d705616f315b634ec0c7d8f42e%40%3Cissues.solr.apache.org%3E"],"products":["bouncycastle:fips_java_api","bouncycastle:legion-of-the-bouncy-castle"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-26939","score":0.00925,"percentile":0.60449,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-72m5-fvvv-55m6","url":"https://osv.dev/vulnerability/GHSA-72m5-fvvv-55m6","summary":"Observable Differences in Behavior to Error Inputs in Bouncy Castle","modified":"2025-07-17T22:22:44.756584Z","packages":[{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","ranges":["<1.61"],"fixed":["1.61"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15","ranges":["<1.61"],"fixed":["1.61"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-jdk16","ranges":["<1.61"],"fixed":["1.61"]},{"ecosystem":"Maven","name":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","ranges":["<1.0.2"],"fixed":["1.0.2"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-ext-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk15on","ranges":["<1.61"],"fixed":["1.61"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-ext-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk16","ranges":["<1.61"],"fixed":["1.61"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","ranges":["<1.61"],"fixed":["1.61"]},{"ecosystem":"Maven","name":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","ranges":["<1.61"],"fixed":["1.61"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}