CVE-2025-32025CWE-770

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

Medium · published April 8, 2025

CVSS v4.0
6.9
EPSS
0%
Percentile
7.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00181 · 7.3th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-04-08T15:13Z
EPSS history
Timeline
  • 08 APR 15:13Z
    bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
    cvelistv5