What’s Vulnerable › Vulnerabilities
CVE-2025-32025: bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
- Severity: medium (CVSS 6.9 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-08 · updated 2026-06-17
- Weakness: CWE-770
Description
bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files. The buffer created for parsing metadata for PNG and WebP images was only bounded by their input data type, which could lead to potentially large memory allocation, and unreasonably high for image metadata. Before v0.11.0, If you didn't trust the input images, this could be abused to construct denial-of-service attacks. v0.11.0 added a 10 MB upper limit.
Affected products
- bep imagemeta: before v0.11.0
References
- https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d
- https://github.com/bep/imagemeta/security/advisories/GHSA-fmhh-rw3h-785m
Get alerted when CVE-2025-32025 or the next vulnerability affects your stack