Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
kamadak-exif versions 0.5.2 before 0.5.3 can enter an infinite loop when Reader::read_from_container parses a crafted PNG file. An attacker who can supply such a file to an affected application can cause it to hang. Upgrade to kamadak-exif 0.5.3, which includes the fix. The source lists no workaround, though applications that never pass PNG files to this function are not affected.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.7 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.015, the 75th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:18 UTC First seen by agentprime
- 31 Oct 2026, 15:18 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-px9g-8hgv-jvg2
- OSV: GHSA-px9g-8hgv-jvg2
- github.com/kamadak/exif-rs/security/advisories/GHSA-px9g-8hgv-jvg2
- nvd.nist.gov/vuln/detail/CVE-2021-21235
- github.com/kamadak/exif-rs/commit/1b05eab57e484cd7d576d4357b9cda7fdc57df8c
- github.com/kamadak/exif-rs/commit/f21df24616ea611c5d5d0e0e2f8042eb74d5ff48
- crates.io/crates/kamadak-exif
- github.com/kamadak/exif-rs
- rustsec.org/advisories/RUSTSEC-2021-0143.html