Advisories

libheif 1.16.0 before 1.23.6 Out-of-Bounds Read via Sharp-YUV Conversion

Go back
Severity
high
Date
Affecting
  • libheif >= 1.16.0, < 1.23.6

CWE
  • CWE-129 Improper Validation of Array Index
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
Bartłomiej Dmitruk (striga.ai)
Description
libheif 1.16.0 before 1.23.6 contains an out-of-bounds read vulnerability in Op_Any_RGB_to_YCbCr_420_Sharp::convert_colorspace() that passes unchecked 10-bit or 12-bit RGB samples to SharpYuvConvert(). Attackers can supply a crafted HEIF file producing samples above the declared bit depth so libsharpyuv gamma table lookups read out of bounds, crashing the process or leaking memory into output pixels.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.