bep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing
cve-program · CVE-2025-32025
Publishedbep/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.
Read the publisher's advisoryeuvd · EUVD-2025-10405
Publishedbep/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.
Read the publisher's advisorynvd · CVE-2025-32025
Publishedbep/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.
Read the publisher's advisoryosv · GHSA-fmhh-rw3h-785m
Published### 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.
Read the publisher's advisoryosv · GO-2025-3599
Publishedbep/imagemeta allows a potentially large memory allocation in PNG and WebP parsing in github.com/bep/imagemeta
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-32025 · CVE overview and exploitation status
cve-program · CVE-2025-32025
- https://github.com/bep/imagemeta/security/advisories/GHSA-fmhh-rw3h-785m
- https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d
euvd · EUVD-2025-10405
- https://github.com/bep/imagemeta/security/advisories/GHSA-fmhh-rw3h-785m
- https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d
nvd · CVE-2025-32025
- https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d
- https://github.com/bep/imagemeta/security/advisories/GHSA-fmhh-rw3h-785m
osv · GHSA-fmhh-rw3h-785m
- https://github.com/bep/imagemeta/security/advisories/GHSA-fmhh-rw3h-785m
- https://nvd.nist.gov/vuln/detail/CVE-2025-32025
- https://github.com/bep/imagemeta/commit/ee0de9b029f4e82106729f69559f27c9a404229d
- https://github.com/bep/imagemeta
osv · GO-2025-3599
Related changes
Linked by CVE identifierNo related changes are available here.