A flaw in libcurl makes it wrongly reuse an existing HTTPS connection setup
for a given hostname even when using a different Native CA Store setting
(CURLSSLOPT_NATIVE_CA) than when the connection was created.
{
"URL": "https://curl.se/docs/CVE-2026-80231.json",
"CWE": {
"desc": "Exposure of Data Element to Wrong Session",
"id": "CWE-488"
},
"package": "curl",
"affects": "both",
"last_affected": "8.21.0",
"www": "https://curl.se/docs/CVE-2026-80231.html",
"severity": "Low",
"issue": "https://hackerone.com/reports/3969368"
}[
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"111652449694270200325184663744421103371",
"188721787540254973815007068318394576761",
"36019238348707151676647972890237413756",
"206241605324541513601089261720724788353",
"174213078791522868398683550802521462632",
"70255980977294035791593277159264041628",
"54661949024462801980180300676439298203",
"19417569959814355877483753903111266003"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80231-02175796",
"target": {
"file": "lib/vtls/vtls_config.h"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 4514.0,
"function_hash": "9024813869091037356273069386326212116"
},
"id": "CURL-CVE-2026-80231-03a62375",
"target": {
"function": "Curl_ssl_easy_config_complete",
"file": "lib/vtls/vtls_config.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2190.0,
"function_hash": "316125263299607754998859864411125517193"
},
"id": "CURL-CVE-2026-80231-1133f810",
"target": {
"function": "wssl_populate_x509_store",
"file": "lib/vtls/wolfssl.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"206155358614716241946332592587985533483",
"95465381489022193629945921209250294478",
"127230169130743477681942540879143877736",
"100725562864753167508643815680461347878",
"225167759805917307615215671039322247454",
"305480429134251035568807216568019213539",
"321914314514435299453323535773605840755",
"208449171483356024810621474533803810049",
"127666999378288772001234710769907962062",
"161849313433293538239600957748813805867",
"143770627377470689156150423478053417271",
"141856084997179610152438545355735170371"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80231-3191f78c",
"target": {
"file": "lib/vtls/gtls.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"65742188301088769831182572575660541300",
"248154346697767525584745477564823246675",
"226088008399588791764246863138284081562",
"57472683025465512998017716749745109",
"183898640253075355809536180025936279178",
"185613954147270194713182776289650110578",
"153035568760993297946075589545068810377",
"328881125918743268393268831510859922276",
"145530977766526514958402897280633643068",
"125642838918017720181246391583671821078",
"5199426953502924782535398219598660200",
"106659862085378408889231609112236080269"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80231-3dbf8a7e",
"target": {
"file": "lib/vtls/wolfssl.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"186832539429258723246996311935655181711",
"307702306484995888440621239218162798552",
"234941524708538980770081172823806440049",
"231346956743516197155835784968857936915",
"169157991041257811463341720448959728976",
"33178235361371257412115205594538429469",
"118741053478318215117954311671924169096",
"223834396049573800331637024866679844264",
"121529063734036525494122217161313460177",
"252156173259391057663941032109425638786",
"171311292414017065158124336697573468647",
"332716118336833175837749449276381583732",
"320735497110433093876723953455717922278",
"190616092964672855273132700431078922793",
"14954644244515914444239205889676562814",
"19473942033182606346892911942263934442",
"320735497110433093876723953455717922278",
"190616092964672855273132700431078922793",
"14954644244515914444239205889676562814",
"296085520189659526761584385901339871119"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80231-64bde24d",
"target": {
"file": "lib/vtls/vtls_config.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 1460.0,
"function_hash": "256352054940049720709880512052798227464"
},
"id": "CURL-CVE-2026-80231-6df27be6",
"target": {
"function": "match_ssl_primary_config",
"file": "lib/vtls/vtls_config.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 611.0,
"function_hash": "248653534198468936682717545561586298350"
},
"id": "CURL-CVE-2026-80231-7702a5db",
"target": {
"function": "ssl_easy_config_compl_options",
"file": "lib/vtls/vtls_config.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"54880120796532037270364537118362243553",
"32019763481446404157420924251625450128",
"184512079310359570062980021779590675001",
"226399339651297454571726320604321343726"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80231-7db6cf67",
"target": {
"file": "lib/vtls/rustls.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 2796.0,
"function_hash": "110249581895264707368796597117313982535"
},
"id": "CURL-CVE-2026-80231-8abf6b73",
"target": {
"function": "ossl_load_trust_anchors",
"file": "lib/vtls/openssl.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 914.0,
"function_hash": "159042304103383169379814207095013267275"
},
"id": "CURL-CVE-2026-80231-d1268e62",
"target": {
"function": "clone_ssl_primary_config",
"file": "lib/vtls/vtls_config.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"217563100808214922745766739410676241341",
"312709777797324598886341712670107209153",
"223036325457282089568049508272374713450",
"112012880593586212978097482163563641148",
"205239156382260236079621980938023184347",
"287911553599403068096434075276298004067",
"176628546056851202793111502273719414585",
"29353786509786372909342600703503476506",
"145530977766526514958402897280633643068",
"8269260027822116857595094215385360922",
"113346732588011268106864932592948317124",
"76387360146464258408817116961493940528",
"22585221517242912460283995508810111871",
"305601195711134054141199513022373461890",
"155558160983444067599429978854870683481",
"184173674253995192887973355566472493977",
"275213608588932439225973268333604212520",
"125268893650430493630978134875458716731",
"310399715562598218675389243993123733659",
"92806180419577392310071595086588879087"
],
"threshold": 0.9
},
"id": "CURL-CVE-2026-80231-e76bf918",
"target": {
"file": "lib/vtls/openssl.c"
},
"source": "https://github.com/curl/curl.git/commit/7be1e70cb6bcd83e130ecfe8cb91b6a7dcdeff42",
"signature_version": "v1"
}
]
"https://curl.se/docs/CURL-CVE-2026-80231.json"
"2026-09-03T02:01:56Z"