Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-68431

6.5 · MEDIUM
Published Dec 29, 2025 struktur CWE-125 EPSS 0.33% (26th pctl)

Overview

CVE-2025-68431 is a medium-severity vulnerability affecting struktur libheif. It was published on December 29, 2025 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

libheif is an HEIF and AVIF file format decoder and encoder. Prior to version 1.21.0, a crafted HEIF that exercises the overlay image item path triggers a heap buffer over-read in `HeifPixelImage::overlay()`. The function computes a negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to `size_t` and is passed to `memcpy`, causing a very large read past the end of the source plane and a crash. Version 1.21.0 contains a patch. As a workaround, avoid decoding images using `iovl` overlay boxes.

Remediation

Check the references section for vendor advisories and patches from struktur. Update libheif to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
struktur libheif >= 0, < 1.21.0 Affected

Frequently Asked Questions

What is CVE-2025-68431?

CVE-2025-68431 is a medium-severity vulnerability affecting struktur libheif. It was published on December 29, 2025 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2025-68431?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-68431?

Check the references section for vendor advisories and patches from struktur. Update libheif to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-68431?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-68431 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.