Description
kamadak-exif is an exif parsing library written in pure Rust. In kamadak-exif version 0.5.2, there is an infinite loop in parsing crafted PNG files. Specifically, reader::read_from_container can cause an infinite loop when a crafted PNG file is given. This is fixed in version 0.5.3. No workaround is available. Applications that do not pass files with the PNG signature to Reader::read_from_container are not affected.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2
Product, Third Party Advisory x_refsource_misc
https://crates.io/crates/kamadak-exif
Patch, Third Party Advisory x_refsource_misc
https://github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48
Scores
CVSS v3
5.7
EPSS
0.0044
EPSS Percentile
63.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-400
CWE-835
Status
published
Products (2)
crates.io/kamadak-exif
0.5.2 - 0.5.3crates.io
kamadak-exif_project/kamadak-exif
0.5.2
Published
Jan 06, 2021
Tracked Since
Feb 18, 2026