CVE-2025-32025
MEDIUM 6.9CVSS 4.0bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
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.
- Published
- 8 Apr 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-770
- Also known as
- GHSA-fmhh-rw3h-785mGO-2025-3599
- Sources
- NVDJSONOSV GHSA-fmhh-rw3h-785mJSONOSV GO-2025-3599JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/bep/imagemeta | < 0.11.0 | 0.11.0 |
References
- https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d · WEB, FIX
- https://github.com/bep/imagemeta/security/advisories/GHSA-fmhh-rw3h-785m · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-32025 · ADVISORY
- https://github.com/bep/imagemeta · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 8 Apr 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 9 Apr 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Apr 2025)