Advisory

GHSA-fmhh-rw3h-785m

Also known as: CVE-2025-32025, GO-2025-3599

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-09 12:57 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/bep/imagemeta

Go · All systems

Affected

  • introduced 0, fixed 0.11.0 (semver)

Fixed versions

0.11.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences