CVE-2025-32025bep imagemeta
Medium 6.9
Follow: this CVE · bep · bep imagemeta We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 8, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/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
What happens
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.
What to do
- Apply the vendor's security update for imagemeta.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/bep/imagemeta |
< 0.11.0 |
0.11.0 |
go get github.com/bep/imagemeta@v0.11.0 |
| Go | github.com/bep/imagemeta |
< 0.11.0 |
0.11.0 |
go get github.com/bep/imagemeta@v0.11.0 |
Per OSV / GitHub Advisories (GHSA-fmhh-rw3h-785m, GO-2025-3599). Check the version in your lockfile before upgrading.
Affected products
- bep · imagemeta
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.