curl — security advisory
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).
- Products
- curl
- Affected versions
- Not specified
- Fixed versions
- 8.7.1-1
- CVEs
- CVE-2024-2466
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:19 UTC · Revision 1
Source evidence
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).
osv:DEBIAN-CVE-2024-2466
curl
Fixed versions: 8.7.1-1
curl
Fixed versions: 8.7.1-1
Complete source record
{
"id": "f23680e9dfb181962a0c6eef6352ef67cf4d38ec4b59f53150b622ea893a0deb",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2024-2466",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2024-2466",
"summary": "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).",
"evidence": "osv:DEBIAN-CVE-2024-2466",
"products": [
{
"name": {
"value": "curl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.7.1-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.7.1-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2024-2466",
"aliases": [
"DEBIAN-CVE-2024-2466"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.7.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2466.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.7.1-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-2466.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-15T09:47:29.014262013Z",
"provider": "osv",
"upstream": [
"CVE-2024-2466"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2024-2466"
]
},
"related_cves": [
{
"value": "CVE-2024-2466",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 327460,
"published_at": "2024-03-27T08:15:41.343+00:00"
}