Vulnerability DatabaseGHSA-53gf-vqf6-qvp8

GHSA-53gf-vqf6-qvp8: 
Rust vulnerability analysis and mitigation

Summary

Reader::read_raw follows every ExifIFDPointer (0x8769), GPSInfoIFDPointer (0x8825), and InteropIFDPointer (0xA005) entry, including duplicates that point at the same IFD. With n duplicate pointers at each of three levels, the field count grows as n³, so a few-KB crafted file expands into gigabytes and the process aborts when the allocation fails.

Details

Reader::read_raw visits every pointer entry it finds, with no dedup of repeated pointer tags or already-visited IFD offsets. With n duplicate pointers per level:

  • n ExifIFDPointer entries in IFD0 each point at one Exif IFD;
  • that Exif IFD has n InteropIFDPointer entries, each pointing at one Interop IFD;
  • that Interop IFD has n entries. → n³ fields from an O(n) input. Measured on 0.6.1:
  • n = 200: a 7.2 KB TIFF → 8,000,000 fields, 644 MB, 0.52 s.
  • n = 300: a 10.8 KB TIFF → 27,000,000 fields, 2.1 GB, 2.1 s.
  • A 64 KiB JPEG APP1 segment allows about n = 1,800 → roughly 6×10⁹ fields. The process aborts when the allocation fails. kamadak-exif is called on every probe of a JPEG or PNG, so a single small crafted file in a folder is enough to kill an image viewer that scans it.

Impact

Denial of service: a small crafted TIFF/JPEG/PNG (with an EXIF payload) makes Reader::read_raw allocate gigabytes and abort the process. kamadak-exif parses untrusted image metadata and is typically called on every file an application probes, so a single crafted file is enough to crash a viewer/indexer/thumbnailer. Reproduced on 0.6.1 (current). Reader::read_from_container and parse_exif are also affected, as they call the same parser with Reader::read_raw internally.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-78jj-xfpm-g6pxHIGH7.8
  • JavaScript logoJavaScript
  • alint-dsl
NoYesNov 22, 2026
GHSA-pchg-rmv6-56f4MEDIUMN/A
  • Rust logoRust
  • peeroxide-dht
NoYesNov 22, 2026
GHSA-m2w2-wg2f-5p57HIGHN/A
  • Rust logoRust
  • peeroxide-dht
NoYesNov 22, 2026
GHSA-4jh8-33j3-h73jHIGHN/A
  • Rust logoRust
  • peeroxide-dht
NoYesNov 22, 2026
GHSA-48wj-x5q3-ggfqMEDIUMN/A
  • Rust logoRust
  • peeroxide
NoYesNov 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management