Buffer Overflow Vulnerability in bep/imagemeta Go Library
CVE-2025-32025
6.9MEDIUM
What is CVE-2025-32025?
The bep/imagemeta library, utilized for parsing image metadata from formats like JPEG, TIFF, PNG, and WebP, has a vulnerability due to improper bounding of buffer sizes. This issue primarily affects versions prior to v0.11.0. Attackers could exploit this vulnerability by supplying specially crafted images, which could result in unbounded memory allocations. Such attacks could potentially lead to denial-of-service conditions, as the application may consume excessive amounts of memory for processing image metadata. The introduction of an upper limit of 10 MB in v0.11.0 helps mitigate the risk, yet users are encouraged to upgrade to this version or above and validate input images from untrusted sources.
Affected Version(s)
imagemeta < v0.11.0
