CVE-2025-43967 Null dereference in libheif

Low 2.9 Published Updated

A NULL pointer dereference in libheif allows attackers to cause a denial of service via a crafted grid image referencing a nonexistent item.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-43967?

CVE-2025-43967 is a low-severity vulnerability in struktur libheif, published on 20 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

libheif before 1.19.6 has a NULL pointer dereference in ImageItem_Grid::get_decoder in image-items/grid.cc because a grid image can reference a nonexistent image item.

Weakness: CWE-476

Which versions are affected by CVE-2025-43967?

It affects 1 product.

Products include Struktur Libheif.

How do I fix CVE-2025-43967?

Upgrade to a fixed version.

Is CVE-2025-43967 being exploited?

There is no known exploitation of CVE-2025-43967 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-43967, ECHO-5f1c-c6a2-b5c3, GHSA-c48q-x6xw-g5h8.

Is CVE-2025-43967 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free