CVE-2026-33850: Stb Image Fractional Subsampling Oob

stb_image JPEG decoder lacks integer ratio validation for plane subsampling factors. This logic oversight leads to memory corruption/out-of-bounds write since resamplers cannot handle fractional ratios.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2026-33850-stb-image-fractional-subsampling-oob --engine opengrep

Description

stb_image JPEG decoder lacks integer ratio validation for plane subsampling factors. This logic oversight leads to memory corruption/out-of-bounds write since resamplers cannot handle fractional ratios.