Vulnerabilities

Security fix · CVE-2025-68431

libheif is an HEIF and AVIF file format decoder and encoder.

Published Dec 29, 2025 · catalog updated Dec 30, 2025 · libheif is an HEIF

Last checked Nov 2, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-68431. EPSS is 0.43%. Act only if a listed version of libheif is an HEIF is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (libheif is an HEIF).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Medium6.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.43%
Remediation
Version ranges on file
Affected products
vendor strukturag libheif < 1.21.0

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 . The function computes a negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to and is passed to , 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 overlay boxes.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor strukturag libheif < 1.21.0< 1.21.0

How to fix CVE-2025-68431

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-68431. EPSS is 0.43%. Act only if a listed version of libheif is an HEIF is installed.

Which versions are affected?

Compare what you have installed with strukturag libheif < 1.21.0 < 1.21.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.43%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Dec 29, 2025 · EUVD

    Detected

    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 . The function computes a negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to and is passed to , causing a very large read past the end of the sour

  2. Dec 30, 2025 · EUVD

    Updated

    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 . The function computes a negative row length (likely from an unclipped overlay rectangle or invalid offsets), which then underflows when converted to and is passed to , causing a very large read past the end of the sour

Sources

  • CVE.orgVulnerability recordCVE-2025-68431

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-68431

    30-day exploitation probability 0.43%

    first.org
  • EUVDVulnerability recordEUVD-2025-205646

    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 . The function computes a negative row length (likely from an unclipped overlay rectangle or invalid

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Nov 2, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • FIRST EPSSNov 2, 2026
  • CVE.orgNov 2, 2026
  • EUVDNov 1, 2026