Echo: libheif: security update to 1.19.8-1+e4

high Tenable Cloud Security Plugin ID 458004

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. Versions 1.21.2 and below contain a heap
buffer overflow in MaskImageCodec::decode_mask_image(). When decoding a HEIF file containing a mask image
(mski), the function copies the full iloc extent data into a pixel buffer using memcpy(dst, data.data(),
data.size()). The copy length data.size() is determined by the iloc extent in the file (attacker-
controlled), while the destination buffer is sized based on the declared image dimensions. Because no
upper-bound check exists on the data length, a crafted file whose iloc extent exceeds the pixel buffer
allocation overflows the heap. The vulnerable single-memcpy branch is reached when the mskC property
specifies bits_per_pixel = 8 and the ispe property declares an even width ≥ 64 (so that stride == width),
with no changes to default security limits or external codec plugins required. This issue has been fixed
in version 1.22.0. (CVE-2026-32741)

Solution

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

See Also

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

Plugin Details

Severity: High

ID: 458004

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.98

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

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

CVSS Score Source: CVE-2026-32741

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/21/2026

Vulnerability Publication Date: 5/19/2026

Reference Information

CVE: CVE-2026-32741

IAVB: 2026-B-0158-S