Alpine: multiple wolfssl packages: security update to 5.9.0-r0

critical Tenable Self-Hosted Container Security Plugin ID 483142

Description

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

- Heap-based buffer overflow in the KCAPI ECC code path of wc_ecc_import_x963_ex() in wolfSSL wolfcrypt
allows a remote attacker to write attacker-controlled data past the bounds of the pubkey_raw buffer via a
crafted oversized EC public key point. The WOLFSSL_KCAPI_ECC code path copies the input to key->pubkey_raw
(132 bytes) using XMEMCPY without a bounds check, unlike the ATECC code path which includes a length
validation. This can be triggered during TLS key exchange when a malicious peer sends a crafted ECPoint in
ServerKeyExchange. (CVE-2026-4395)

- A stack buffer overflow vulnerability exists in wolfSSL's PKCS7 SignedData encoding functionality. In
wc_PKCS7_BuildSignedAttributes(), when adding custom signed attributes, the code passes an incorrect
capacity value (esd->signedAttribsCount) to EncodeAttributes() instead of the remaining available space in
the fixed-size signedAttribs[7] array. When an application sets pkcs7->signedAttribsSz to a value greater
than MAX_SIGNED_ATTRIBS_SZ (default 7) minus the number of default attributes already added,
EncodeAttributes() writes beyond the array bounds, causing stack memory corruption. In WOLFSSL_SMALL_STACK
builds, this becomes heap corruption. Exploitation requires an application that allows untrusted input to
control the signedAttribs array size when calling wc_PKCS7_EncodeSignedData() or related signing
functions. (CVE-2026-0819)

- Integer underflow in wolfSSL packet sniffer <= 5.8.4 allows an attacker to cause a buffer overflow in the
AEAD decryption path by injecting a TLS record shorter than the explicit IV plus authentication tag into
traffic inspected by ssl_DecodePacket. The underflow wraps a 16-bit length to a large value that is passed
to AEAD decryption routines, causing heap buffer overflow and a crash. An unauthenticated attacker can
trigger this remotely via malformed TLS Application Data records. (CVE-2026-1005)

- In wolfSSL 5.8.2 and earlier, a logic flaw existed in the TLS 1.2 server state machine implementation. The
server could incorrectly accept the CertificateVerify message before the ClientKeyExchange message had
been received. This issue affects wolfSSL before 5.8.4 (wolfSSL 5.8.2 and earlier is vulnerable, 5.8.4 is
not vulnerable). In 5.8.4 wolfSSL would detect the issue later in the handshake. 5.9.0 was further
hardened to catch the issue earlier in the handshake. (CVE-2026-2645)

- A heap-buffer-overflow vulnerability exists in wolfSSL's wolfSSL_d2i_SSL_SESSION() function. When
deserializing session data with SESSION_CERTS enabled, certificate and session id lengths are read from an
untrusted input without bounds validation, allowing an attacker to overflow fixed-size buffers and corrupt
heap memory. A maliciously crafted session would need to be loaded from an external source to trigger this
vulnerability. Internal sessions were not vulnerable. (CVE-2026-2646)

Solution

Update the wolfssl library and its related packages to version 5.9.0-r0 or later.

See Also

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 483142

Version: Revision 1.3

Type: Local

Published: 11/26/2026

Updated: 11/27/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.64

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2026-4395

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.2

Threat Score: 7.2

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2026-3548

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 3/19/2026

Reference Information

CVE: CVE-2026-0819, CVE-2026-1005, CVE-2026-2645, CVE-2026-2646, CVE-2026-3229, CVE-2026-3230, CVE-2026-3503, CVE-2026-3547, CVE-2026-3548, CVE-2026-3549, CVE-2026-3579, CVE-2026-3580, CVE-2026-3849, CVE-2026-4159, CVE-2026-4395