Vulnerability · Published Apr 8, 2025 · Assigned by GitHub_M
CVE-2025-32024bep/imagemeta allows excessively large EXIF data structures
Medium 6.9
In plain English
A medium-severity resource allocation without limits in imagemeta from bep. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files. The EXIF data format allows for defining excessively large data structures in relatively small payloads. Before v0.10.0, If you didn't trust the input images, this could be abused to construct denial-of-service attacks. v0.10.0 added LimitNumTags (default 5000) and LimitTagSize (default 10000) options.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/bep/imagemeta | 0.10.0 | GHSA-q7rw-w4cq-2j6w |
| Go | github.com/bep/imagemeta | 0.10.0 | GO-2025-3598 |
Affected products (as reported)
Weakness: CWE-770 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N