CVE-2025-32025

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

Published Apr 8, 2025 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-10405 bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
Github GHSA Github GHSA GHSA-fmhh-rw3h-785m bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 6.9, '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 8, 2025, 3:37 PM
Reserved
Apr 1, 2025, 9:57 PM
Status
Deferred
Published
Apr 8, 2025, 4:15 PM
Modified
Jun 17, 2026, 9:11 AM