bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bep | imagemeta | before v0.11.0 | v0.11.0 | Patch available | CNA |
| — | github.com/bep/imagemeta (Go) | before 0.11.0 | 0.11.0 | Patch available | GHSA-fmhh-rw3h-785m |
- imagemeta Vendorbep Affected before v0.11.0 Fixed in v0.11.0 Patch available CNA
- github.com/bep/imagemeta (Go) Vendor— Affected before 0.11.0 Fixed in 0.11.0 Patch available GHSA-fmhh-rw3h-785m
Remediation
- Fix · CNA imagemeta (bep) Fixed in v0.11.0
- Fix · GHSA-fmhh-rw3h-785m github.com/bep/imagemeta (Go) Fixed in 0.11.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-32025
- 2026-10-03 Alias added: GHSA-fmhh-rw3h-785m
References
More bep vulnerabilities
- TI-2025-23148 bep/imagemeta allows excessively large EXIF data structures CVSS 4.0MEDIUM 6.9
Sources
- CVE-2025-32025 · CVE Program
- CVE-2025-32025 · NVD
- FIRST EPSS
- GHSA-fmhh-rw3h-785m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences