CVE-2025-68431: Heif Pixelimage Overlay Memcpy Underflow
A vulnerability exists where the `memcpy` size parameter is computed as `$W - $IX` after `$W` may have already been restricted to the remaining width. Subtracting `$IX` causes an underflow when cast to `size_t`, leading to a massive heap buffer over-read. Use the available dimension `$W` directly for the copy size.
greprules fetch cve-2025-68431-heif-pixelimage-overlay-memcpy-underflow --engine opengrepDescription
A vulnerability exists where the `memcpy` size parameter is computed as `$W - $IX` after `$W` may have already been restricted to the remaining width. Subtracting `$IX` causes an underflow when cast to `size_t`, leading to a massive heap buffer over-read. Use the available dimension `$W` directly for the copy size.
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.