Code execution via malformed BMP dimensions
Published Jan 7, 2020 · Updated Aug 5, 2024
Heap-based buffer overflow in Red Hat SDL through 1.2.15 and 2.0.9 allows remote attackers to crash or execute code via malicious BMP files. SDL_LoadBMP_RW accepts a negative BMP width without validation, and later blit and surface-copy routines use that value to calculate heap-copy sizes. Exploitation requires an application that parses attacker-supplied BMP input; impact is application crash or possible code execution.
Summary
What happened
Heap-based buffer overflow in Red Hat SDL through 1.2.15 and 2.0.9 allows remote attackers to crash or execute code via malicious BMP files. SDL_LoadBMP_RW accepts a negative BMP width without validation, and later blit and surface-copy routines use that value to calculate heap-copy sizes. Exploitation requires an application that parses attacker-supplied BMP input; impact is application crash or possible code execution.
The record
- CVE
- CVE-2019-14906
- Published
- Jan 7, 2020
- Updated
- Aug 5, 2024
- Vendor
- Red Hat
- Product
- Simple DirectMedia Layer
- Classifications
- CWE-787, CWE-125, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 7, 2020CVE publishedPublication date reported by the CVE source.
- Aug 5, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=all SDL versions 2.x through 2.0.9
- Affected versionversion=all SDL versions through 1.2.15
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog entryknown exploited catalog
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo