# JLSEC-2026-417: libcurl did not check the server certificate of TLS connections done to a host specified as an IP...

- Severity: Medium 6.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-04T13:12:06.605Z
- Modified: 2026-07-18T00:01:59.620Z
- Related: CVE-2024-2466, GHSA-9xr6-qf7m-2jv5, EUVD-2024-27415

## Description

libcurl did not check the server certificate of TLS connections done to a host specified as an IP address, when built to use mbedTLS.  libcurl would wrongly avoid using the set hostname function when the specified hostname was given as an IP address, therefore completely skipping the certificate check. This affects all uses of TLS protocols (HTTPS, FTPS, IMAPS, POPS3, SMTPS, etc).

(As written by Julia Security Advisories.)

## Affected

- CURL_jll (Julia): from 8.5.0+0 before 8.9.0+0
- LibCURL_jll (Julia): from 8.5.0+0 before 8.7.1+0

## References

- <http://seclists.org/fulldisclosure/2024/Jul/18> (web)
- <http://seclists.org/fulldisclosure/2024/Jul/19> (web)
- <http://seclists.org/fulldisclosure/2024/Jul/20> (web)
- <http://www.openwall.com/lists/oss-security/2024/03/27/4> (web)
- <https://curl.se/docs/CVE-2024-2466.html> (web)
- <https://curl.se/docs/CVE-2024-2466.json> (web)
- <https://github.com/advisories/GHSA-9xr6-qf7m-2jv5> (web)
- <https://hackerone.com/reports/2416725> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-2466> (web)
- <https://security.netapp.com/advisory/ntap-20240503-0010> (web)
- <https://security.netapp.com/advisory/ntap-20240503-0010/> (web)
- <https://support.apple.com/kb/HT214118> (web)
- <https://support.apple.com/kb/HT214119> (web)
- <https://support.apple.com/kb/HT214120> (web)
- <https://www.vicarius.io/vsociety/posts/tls-certificate-check-bypass-curl-with-mbedtls-cve-2024-2466-2468> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-417](https://osv.dev/vulnerability/JLSEC-2026-417), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-417 · Whole record: https://cve.day/JLSEC-2026-417.json · Rebuilt by cve.day 2026-11-25T22:56:26.112Z
