Debian dla-4966 : heif-gdk-pixbuf - security update

high Nessus Plugin ID 394162

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 12 host has packages installed that are affected by a vulnerability as referenced in the dla-4966 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4966-1 [email protected] https://www.debian.org/lts/security/ Simon Quigley December 04, 2026 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : libheif Version : 1.15.1-1+deb12u3

libheif decodes and encodes HEIF and AVIF images. An attacker who can supply a crafted file, or who can choose the dimensions of a padding call, can crash the process, force a very large allocation, or keep a worker busy for a long time.

The CVE identifiers for these issues are not yet available.

GHSA-jx54-6rm6-2cgj

The check that reads an AV1 sequence header for its coded size stopped when it met an Open Bitstream Unit (OBU) that carried no size field. libaom skipped that unit and decoded a later sequence header. That header named a coded frame much larger than the size the check had accepted, and libaom allocated the frame. A file of about 700 bytes was enough to drive the allocation into the hundreds of megabytes. This affects applications that decode AV1 with libaom;
dav1d is the default AV1 decoder in this package.

GHSA-fpr5-xpfr-vcq3

The same check read num_ticks_per_picture_minus_1 with a shared unsigned variable-length reader that stops after 20 leading zero bits. An AV1 sequence header may use up to 31 leading zero bits for that field, and the check continued after the reader stopped. With 21 leading zeros, the check skipped the sequence header and missed the real coded size. With 31 leading zeros, the check could read a small decoy size. libaom then allocates the frame the sequence header actually declares. As above, this affects applications that decode AV1 with libaom.

GHSA-hpg4-g2gc-pq42

heif_image_extend_padding_to_size() grows a plane when either dimension asks for more room, then copies every old row at the old width. A request that is larger in one dimension and smaller in the other allocates the smaller side and still copies the larger side, so the copy runs past the new buffer. A 64 by 512 plane padded to 512 by 64 aborts with a segmentation fault. Code execution has not been shown.

GHSA-gff5-3vgr-p8h2

The gdk-pixbuf loader calls heif_image_scale_image() when the application asks for a size other than the decoded size. That function writes the output pointer only when scaling succeeds. On failure the loader continues with the uninitialized pointer, reads the plane through it, and later releases it. One way to reach that failure is a thin image loaded at a fixed width while the height follows the aspect ratio.

GHSA-7qm8-hj35-269r

An item can associate the same rotation, mirror, or crop many times, up to the 255 associations an item property box allows, and each derived image along the same path adds its own list. Decoding applies every association as a pass over the whole image, so a small file can keep one decode busy for seconds or minutes.

GHSA-48p4-gj45-w9v6

A grid tile or an overlay input can keep only a few pixels of a much larger image and can name that image over and over. Each reference decodes the large image again. The existing limit on the number of decodes still lets each one be as large as the maximum image size, so a file of a few kilobytes can keep one decode busy for minutes.

GHSA-2g6j-vhr6-6wrj

One image item or sample can contain many coded pictures. The decoder is given the whole buffer and the application receives one image. The extra pictures can be HEVC slices, including slices that are not presented, or AV1 frame units placed in the configuration data or in the sample. Each extra picture costs a full decode, so one image can keep a worker busy for seconds or minutes.

For Debian 12 bookworm, this problem has been fixed in version 1.15.1-1+deb12u3.

We recommend that you upgrade your libheif packages.

For the detailed security status of libheif please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/libheif

Further information about Debian LTS security advisories, how to apply these updates to your system, and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the heif-gdk-pixbuf packages.

See Also

https://packages.debian.org/source/bookworm/libheif

https://security-tracker.debian.org/tracker/source-package/libheif

Plugin Details

Severity: High

ID: 394162

File Name: debian_DLA-4966.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/5/2026

Updated: 12/5/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:heif-gdk-pixbuf, p-cpe:/a:debian:debian_linux:heif-thumbnailer, p-cpe:/a:debian:debian_linux:libheif-dev, p-cpe:/a:debian:debian_linux:libheif-examples, p-cpe:/a:debian:debian_linux:libheif1

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 12/4/2026

Vulnerability Publication Date: 12/4/2026