CVE-2025-32025
published 2025-04-08CVE-2025-32025: 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…
PriorityP427medium6.9CVSS 4.0
AVLACLATNPRNUINVCNVINVAHSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.16%
5.7th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| bep | imagemeta | < v0.11.0 | v0.11.0 |
| debian | golang-github-bep-imagemeta | — | — |
| github.com | bep_imagemeta | >= 0 < 0.11.0 | 0.11.0 |
CVSS provenance
nvdv4.06.9MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_debian6.9LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing in github.com/bep/imagemeta
osv·2025-04-09
CVE-2025-32025 bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing in github.com/bep/imagemeta
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing in github.com/bep/imagemeta
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing in github.com/bep/imagemeta
OSV
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
osv·2025-04-09
CVE-2025-32025 [MEDIUM] bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
### Impact
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.
### Patches
`v0.11.0` added a 10 MB upper limit.
GHSA
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
ghsa·2025-04-09
CVE-2025-32025 [MEDIUM] CWE-770 bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
### Impact
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.
### Patches
`v0.11.0` added a 10 MB upper limit.
Debian
CVE-2025-32025: golang-github-bep-imagemeta - bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data fro...
vendor_debian·2025·CVSS 6.9
CVE-2025-32025 [MEDIUM] CVE-2025-32025: golang-github-bep-imagemeta - bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data fro...
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.
Scope: local
forky: resolved
sid: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-04-08
Published