Code execution via stale TiffSubIfd pointer
Published Feb 18, 2025 · Updated Feb 19, 2025
Use-after-free in TiffSubIfd in Exiv2 0.28.0 through 0.28.4 allows context-dependent attackers to execute code via a crafted image. During TiffParser::encode, TiffComponent::accept follows a raw TiffSubIfd pointer after doAddPath frees the referenced component. Exploitation requires the image to reach a metadata-writing path, such as the fixiso action, and can corrupt memory or execute code in the consuming process.
Summary
What happened
Use-after-free in TiffSubIfd in Exiv2 0.28.0 through 0.28.4 allows context-dependent attackers to execute code via a crafted image. During TiffParser::encode, TiffComponent::accept follows a raw TiffSubIfd pointer after doAddPath frees the referenced component. Exploitation requires the image to reach a metadata-writing path, such as the fixiso action, and can corrupt memory or execute code in the consuming process.
The record
- CVE
- CVE-2025-26623
- Published
- Feb 18, 2025
- Updated
- Feb 19, 2025
- Vendor
- Exiv2
- Product
- Exiv2
- Classifications
- CWE-416, T1204.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 18, 2025CVE publishedPublication date reported by the CVE source.
- Feb 19, 2025Record 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=>= 0.28.0, < 0.28.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- TiffParser::encode AddressSanitizer reproducerproof 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