Echo: libheif: security update to 1.19.8-1

medium Tenable Self-Hosted Container Security Plugin ID 457645

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and prior, a crafted HEIF
sequence file where the saiz box declares more samples than actually exist in the track's chunk table
causes a heap-buffer-overflow (out-of-bounds read) in the SampleAuxInfoReader constructor. The
SampleAuxInfoReader constructor iterates over saiz->get_num_samples() samples but doesn't validate that
this count is consistent with the number of chunks in the chunks vector. When saiz declares more samples
than the chunks cover, the loop increments current_chunk past chunks.size(), causing an out-of-bounds read
on the chunks vector. The vulnerability is triggered during file parsing (heif_context_read_from_file)
without any additional user interaction. Any application using libheif to open untrusted HEIF files is
affected. This issue has been fixed in version 1.22.0. (CVE-2026-41071)

Solution

Update the libheif library and its related packages to version 1.19.8-1 or later.

See Also

https://advisory.echohq.com/cve/CVE-2026-41071

Plugin Details

Severity: Medium

ID: 457645

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.61

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-41071

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 2

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/26/2026

Vulnerability Publication Date: 5/22/2026

Reference Information

CVE: CVE-2026-41071