Skip to main content
← All vulnerabilities
CVE-2025-32025GHSA-FMHH-RW3H-785MGO-2025-3599

bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in v0.11.0, 0.11.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • bep imagemeta

    fixed in v0.11.0

  • github.com/bep/imagemetaGo

    fixed in 0.11.0

References 2

GitHub · bep/imagemeta