
CVE-2025-32025 – bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
https://notcve.org/view.php?id=CVE-2025-32025
08 Apr 2025 — 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. • https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d • CWE-770: Allocation of Resources Without Limits or Throttling •

CVE-2025-32024 – bep/imagemeta allows excessively large EXIF data structures
https://notcve.org/view.php?id=CVE-2025-32024
08 Apr 2025 — bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files. The EXIF data format allows for defining excessively large data structures in relatively small payloads. Before v0.10.0, If you didn't trust the input images, this could be abused to construct denial-of-service attacks. v0.10.0 added LimitNumTags (default 5000) and LimitTagSize (default 10000) options. • https://github.com/bep/imagemeta/commit/4fd89616d8bf7f9bb892360d3fb19080ec2b4602 • CWE-770: Allocation of Resources Without Limits or Throttling •