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.
- Product
- Apple CoreGraphics (iOS, iPadOS, macOS, watchOS)
- Vendor
- Apple
- Affected
- iOS/iPadOS < 14.8, macOS Big Sur < 11.6, macOS Catalina < Security Update 2021-005, watchOS < 7.6.2
- Fixed in
- iOS 14.8, iPadOS 14.8, macOS Big Sur 11.6, watchOS 7.6.2, Security Update 2021-005 Catalina
- Weakness
- CWE-190
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 24 Aug 2021
Classified as
References
Related CVEs
- 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.
- 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-2015-1538critical 10.02015
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.