Bad local IPv6 connection reuse
libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take the IPv6 address zone id into account which could lead to libcurl reusing the wrong connection when one transfer uses a zone id and a subsequent transfer uses another (or no) zone id.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-27775
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:37 UTC · Revision 1
Source evidence
libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take the IPv6 address zone id into account which could lead to libcurl reusing the wrong connection when one transfer uses a zone id and a subsequent transfer uses another (or no) zone id.
osv:CURL-CVE-2022-27775
Complete source record
{
"id": "ef427430aee77d24b200c37a2d142e78d181a8b97fca8c8a519842a0da93103c",
"url": "https://osv.dev/vulnerability/CURL-CVE-2022-27775",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Bad local IPv6 connection reuse",
"summary": "libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup. Due to errors in the logic, the config matching function did not take the IPv6 address zone id into account which could lead to libcurl reusing the wrong connection when one transfer uses a zone id and a subsequent transfer uses another (or no) zone id.",
"evidence": "osv:CURL-CVE-2022-27775",
"products": [],
"severity": "low",
"structured": {
"id": "CURL-CVE-2022-27775",
"aliases": [
"CURL-CVE-2022-27775",
"CVE-2022-27775"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "7.65.0"
},
{
"fixed": "7.83.0"
}
]
},
{
"repo": "https://github.com/curl/curl.git",
"type": "GIT",
"events": [
{
"introduced": "2d0e9b40d3237b1450cbbfbcb996da244d964898"
},
{
"fixed": "058f98dc3fe595f21dc26a5b9b1699e519ba5705"
}
]
}
],
"versions": [
"7.82.0",
"7.81.0",
"7.80.0",
"7.79.1",
"7.79.0",
"7.78.0",
"7.77.0",
"7.76.1",
"7.76.0",
"7.75.0",
"7.74.0",
"7.73.0",
"7.72.0",
"7.71.1",
"7.71.0",
"7.70.0",
"7.69.1",
"7.69.0",
"7.68.0",
"7.67.0",
"7.66.0",
"7.65.3",
"7.65.2",
"7.65.1",
"7.65.0",
"curl-7_82_0",
"curl-7_81_0",
"curl-7_80_0",
"curl-7_79_1",
"curl-7_79_0",
"curl-7_78_0",
"curl-7_77_0",
"curl-7_76_1",
"curl-7_76_0",
"curl-7_75_0",
"curl-7_74_0",
"curl-7_73_0",
"tiny-curl-7_72_0",
"curl-7_72_0",
"curl-7_71_1",
"curl-7_71_0",
"curl-7_70_0",
"curl-7_69_1",
"curl-7_69_0",
"curl-7_68_0",
"curl-7_67_0",
"curl-7_66_0",
"curl-7_65_3",
"curl-7_65_2",
"curl-7_65_1",
"curl-7_65_0"
],
"database_specific": {
"source": "https://curl.se/docs/CURL-CVE-2022-27775.json",
"vanir_signatures": [
{
"id": "CURL-CVE-2022-27775-5e38373e",
"digest": {
"length": 551,
"function_hash": "64367765119075779025553468148609500840"
},
"source": "https://github.com/curl/curl.git/commit/058f98dc3fe595f21dc26a5b9b1699e519ba5705",
"target": {
"file": "lib/conncache.c",
"function": "hashkey"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CURL-CVE-2022-27775-abbd0061",
"digest": {
"threshold": 0.9,
"line_hashes": [
"248884389636476368898680322381896570386",
"147333169977412059953814330311619140236",
"241286620235946974910977415580361700039",
"317199225891431119959600727241273204395"
]
},
"source": "https://github.com/curl/curl.git/commit/058f98dc3fe595f21dc26a5b9b1699e519ba5705",
"target": {
"file": "lib/conncache.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-25T01:04:43Z"
}
}
],
"modified": "2026-10-25T01:04:43.739101686Z",
"provider": "osv",
"references": [],
"provider_metadata": {
"CWE": {
"id": "CWE-200",
"desc": "Exposure of Sensitive Information to an Unauthorized Actor"
},
"URL": "https://curl.se/docs/CVE-2022-27775.json",
"www": "https://curl.se/docs/CVE-2022-27775.html",
"award": {
"amount": "480",
"currency": "USD"
},
"issue": "https://hackerone.com/reports/1546268",
"affects": "both",
"package": "curl",
"severity": "Low",
"last_affected": "7.82.0"
}
},
"related_cves": [
{
"value": "CVE-2022-27775",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 444281,
"published_at": "2022-04-27T08:00:00+00:00"
}