CVE-2025-43967: Null Pointer Dereference
libheif before 1.19.6 has a NULL pointer dereference in ImageItemGrid::getdecoder in image-items/grid.cc because a grid image can reference a nonexistent image item.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libheifto a version that resolves this vulnerability.Fixed in 1.19.7-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-43967?
CVE-2025-43967 has a medium severity due to a potential NULL pointer dereference.
How do I fix CVE-2025-43967?
To fix CVE-2025-43967, upgrade libheif to version 1.19.6 or later.
What is the specific issue caused by CVE-2025-43967?
CVE-2025-43967 is caused by a NULL pointer dereference in ImageItem_Grid::get_decoder when a grid image references a nonexistent image item.
Which versions of libheif are affected by CVE-2025-43967?
CVE-2025-43967 affects libheif versions prior to 1.19.6.
Is CVE-2025-43967 exploitative?
CVE-2025-43967 can potentially be exploited to cause application crashes due to the NULL pointer dereference.