Buffer Overflow Vulnerability in bep/imagemeta Go Library
CVE-2025-32025

6.9MEDIUM

Key Information:

Vendor

Bep

Status
Vendor
CVE Published:
8 April 2025

What is CVE-2025-32025?

The bep/imagemeta library, utilized for parsing image metadata from formats like JPEG, TIFF, PNG, and WebP, has a vulnerability due to improper bounding of buffer sizes. This issue primarily affects versions prior to v0.11.0. Attackers could exploit this vulnerability by supplying specially crafted images, which could result in unbounded memory allocations. Such attacks could potentially lead to denial-of-service conditions, as the application may consume excessive amounts of memory for processing image metadata. The introduction of an upper limit of 10 MB in v0.11.0 helps mitigate the risk, yet users are encouraged to upgrade to this version or above and validate input images from untrusted sources.

Affected Version(s)

imagemeta < v0.11.0

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.