Alpine: libcurl, multiple curl packages: security update to 8.19.0-r0

medium Tenable Cloud Security Plugin ID 482855

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a
second URL, curl could leak that token to the second hostname under some circumstances. If the hostname
that the first request is redirected to has information in the used .netrc file, with either of the
`machine` or `default` keywords, curl would pass on the bearer token set for the first host also to the
second one. (CVE-2026-3783)

- curl would wrongly reuse an existing HTTP proxy connection doing CONNECT to a server, even if the new
request uses different credentials for the HTTP proxy. The proper behavior is to create or use a separate
connection. (CVE-2026-3784)

- libcurl can in some circumstances reuse the wrong connection when asked to do an Negotiate-authenticated
HTTP or HTTPS request. libcurl features a pool of recent connections so that subsequent requests can reuse
an existing connection to avoid overhead. When reusing a connection a range of criterion must first be
met. Due to a logical error in the code, a request that was issued by an application could wrongfully
reuse an existing connection to the same server that was authenticated using different credentials. One
underlying reason being that Negotiate sometimes authenticates *connections* and not *requests*, contrary
to how HTTP is designed to work. An application that allows Negotiate authentication to a server (that
responds wanting Negotiate) with `user1:password1` and then does another operation to the same server also
using Negotiate but with `user2:password2` (while the previous connection is still alive) - the second
request wrongly reused the same connection and since it then sees that the Negotiate negotiation is
already made, it sends the request over that connection thinking it uses the user2 credentials when it is
in fact still using the connection authenticated for user1... The set of authentication methods to use is
set with `CURLOPT_HTTPAUTH`. Applications can disable libcurl's reuse of connections and thus mitigate
this problem, by using one of the following libcurl options to alter how connections are or are not
reused: `CURLOPT_FRESH_CONNECT`, `CURLOPT_MAXCONNECTS` and `CURLMOPT_MAX_HOST_CONNECTIONS` (if using the
curl_multi API). (CVE-2026-1965)

- When doing a second SMB request to the same host again, curl would wrongly use a data pointer pointing
into already freed memory. (CVE-2026-3805)

Solution

Update the curl library and its related packages to version 8.19.0-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-1965

https://security.alpinelinux.org/vuln/CVE-2026-3783

https://security.alpinelinux.org/vuln/CVE-2026-3784

https://security.alpinelinux.org/vuln/CVE-2026-3805

Plugin Details

Severity: Medium

ID: 482855

Version: Revision 1.1

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.76

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-3805

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2026-3784

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 3/11/2026

Reference Information

CVE: CVE-2026-1965, CVE-2026-3783, CVE-2026-3784, CVE-2026-3805

IAVA: 2026-A-0237-S