Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 92%

CVE-2026-47251: CWE-125: Out-of-bounds Read in strukturag libheif

0
Medium
VulnerabilityCVE-2026-47251cvecve-2026-47251cwe-125cwe-190
Published: 07/21/2026 (07/21/2026, 21:18:56 UTC)
Source: CVE Database V5
Vendor/Project: strukturag
Product: libheif

Description

libheif is a HEIF and AVIF file format decoder and encoder. The fix for CVE-2026-3949 (commit `b97c8b5`, PR #1712) introduced an integer overflow in the very security check it added. The check itself can be bypassed, allowing a crafted HEIF file with a VVC track to trigger the same out-of-bounds heap read that CVE-2026-3949 was meant to prevent. This is a separate, currently-unpatched vulnerability. Issue #1712 was closed as fixed without testing the edge case where `size` is near `UINT32_MAX`. Version 1.22.0 patches the issue.

CVSS v4.0

Score 6.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
strukturag/libheif
pkg:github/strukturag/libheif
Affected versions
<1.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 08:54:50 UTC

Technical Analysis

The vulnerability CVE-2026-47251 in strukturag libheif stems from an integer overflow in a security check added to fix CVE-2026-3949. This overflow allows bypassing the check, enabling a specially crafted HEIF file with a VVC track to trigger an out-of-bounds heap read. The issue was not detected during the original fix due to lack of testing edge cases where the size parameter approaches UINT32_MAX. Version 1.22.0 of libheif includes a patch for this vulnerability.

Potential Impact

Successful exploitation can cause an out-of-bounds heap read, potentially leading to information disclosure or application instability. The CVSS 4.0 score is 6.8 (medium severity), reflecting local attack vector with low complexity, no privileges required, user interaction needed, and high impact on availability.

Mitigation Recommendations

Version 1.22.0 of libheif patches this vulnerability. Users and maintainers should upgrade to libheif 1.22.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor's versioning information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-18T22:54:18.273Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5fe6d09c2644c7f8cb09d2

Added to database: 07/21/2026, 21:38:24 UTC

Last enriched: 07/22/2026, 08:54:50 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses