Application crash via unchecked embedded-image copy
Published Mar 22, 2023 · Updated Aug 2, 2024
Heap-based buffer overflow in TinyDNG's image loader allows local users to crash an application by supplying a crafted DNG file. During embedded-image decoding, stbi__getn passes an attacker-controlled byte count to memcpy without ensuring the source buffer contains that many bytes. The file must be opened by an application built with the library; the demonstrated consequence is an out-of-bounds read followed by process termination.
Summary
What happened
Heap-based buffer overflow in TinyDNG's image loader allows local users to crash an application by supplying a crafted DNG file. During embedded-image decoding, stbi__getn passes an attacker-controlled byte count to memcpy without ensuring the source buffer contains that many bytes. The file must be opened by an application built with the library; the demonstrated consequence is an out-of-bounds read followed by process termination.
The record
- CVE
- CVE-2023-1570
- Published
- Mar 22, 2023
- Updated
- Aug 2, 2024
- Vendor
- Syoyo Fujita
- Product
- TinyDNG
- Classifications
- CWE-122, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 22, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 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=n/a
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.
Public exploit references
- tinydngSecurityIssueReport1 proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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