Stagefright: libstagefright sample-table entry-count integer overflow
A media sample-table atom carries a 32-bit entry count; a nearby size check and the array allocation both multiply that count by the entry size, so a huge count wraps 32-bit arithmetic and a tiny buffer is allocated, then filled far past its end.
- Product
- Android libstagefright (media framework)
- Vendor
- Affected
- Android 2.2 through 5.1 (before build 5.1.1 LMY48I)
- Fixed in
- 5.1.1 LMY48I
- Weakness
- CWE-190
- CVSS vector
- AV:N/AC:L/Au:N/C:C/I:C/A:C
- Published
- 30 Sep 2015
Classified as
References
Related CVEs
- CVE-2021-30860high 7.82021
FORCEDENTRY: JBIG2 integer overflow in Apple CoreGraphics
A crafted JBIG2 stream makes a 32-bit symbol count wrap to a small value, so an undersized heap buffer is overrun with the full run of attacker-referenced bitmap pointers.
- CVE-2020-0796critical 10.02020
SMBGhost: Windows SMBv3 compression integer overflow
An unchecked 32-bit addition in the SMB 3.1.1 compression path can allocate a wrapped-small buffer before decompression writes the attacker-declared output into it.
- CVE-2017-0144high 8.12017
Windows SMBv1 FEA-list integer truncation pool overflow (EternalBlue, CVE-2017-0144)
In SMBv1's OS/2 FEA-list conversion, a 32-bit list size is tracked in a 16-bit field, so a size just over 0xFFFF truncates and the non-paged-pool buffer is allocated too small for the data copied into it. EternalBlue, an Equation Group tool leaked by The Shadow Brokers, weaponized this and powered WannaCry and NotPetya, the most consequential SMB exploit in history.
- CVE-2023-32434high 7.82023
Operation Triangulation: XNU memory-entry integer overflow
A wrapping sum in mach_make_memory_entry_internal accepts an enormous child memory entry as if it fit inside its parent, enabling out-of-range mappings from a privileged memory region.