# CVE-2024-34447: Bouncy Castle Java Cryptography API vulnerable to DNS poisoning

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-05-03T00:00:00.000Z
- Modified: 2026-09-10T03:50:13.465Z
- Also known as: GHSA-4h8f-2wvx-gg5w
- Weaknesses: CWE-297
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

An issue was discovered in the Bouncy Castle Crypto Package For Java before BC TLS Java 1.0.19 (ships with BC Java 1.78, BC Java (LTS) 2.73.6) and before BC FIPS TLS Java 1.0.19. When endpoint identification is enabled in the BCJSSE and an SSL socket is created without an explicit hostname (as happens with HttpsURLConnection), hostname verification could be performed against a DNS-resolved IP address in some situations, opening up a possibility of DNS poisoning.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.bouncycastle:bcprov-jdk18on (Maven): from 1.61 before 1.78
- org.bouncycastle:bcprov-jdk15to18 (Maven): from 1.61 before 1.78
- org.bouncycastle:bcprov-jdk14 (Maven): from 1.61 before 1.78
- org.bouncycastle:bcprov-jdk12 (Maven): from 1.61 before 1.78
- org.bouncycastle:bctls-fips (Maven): before 1.0.19
- org.bouncycastle:bcprov-lts8on (Maven): before 2.73.6
- org.bouncycastle:bcprov-jdk15on (Maven): from 1.61 before 1.78

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://www.bouncycastle.org/latest_releases.html> (web)
- <https://github.com/bcgit/bc-java/wiki/CVE%E2%80%902024%E2%80%9034447> (web)
- <https://security.netapp.com/advisory/ntap-20240614-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34447> (advisory)
- <https://github.com/bcgit/bc-java/issues/1656> (web)
- <https://github.com/bcgit/bc-java> (package)
- <http://security.netapp.com/advisory/ntap-20240614-0007> (web)

## Sources

- CVE List: [CVE-2024-34447](https://www.cve.org/CVERecord?id=CVE-2024-34447), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-4h8f-2wvx-gg5w](https://github.com/advisories/GHSA-4h8f-2wvx-gg5w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-34447](https://nvd.nist.gov/vuln/detail/CVE-2024-34447), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34447 · Whole record: https://cve.day/CVE-2024-34447.json · Rebuilt by cve.day 2026-11-25T22:58:39.932Z
