Skip to content

Allows excessively large EXIF data structures

Moderate
bep published GHSA-q7rw-w4cq-2j6w Apr 8, 2025

Package

gomod github.com/bep/imagemeta (Go)

Affected versions

< v0.10.0

Patched versions

v0.10.0

Description

Impact

The EXIF data format allows for defining excessively large data structures in relatively small payloads. Before v0.10.0, If you didn't trust the input images, this could be abused to construct denial-of-service attacks.

Patches

v0.10.0 added LimitNumTags (default 5000) and LimitTagSize (default 10000) options.

Severity

Moderate

CVE ID

CVE-2025-32024

Weaknesses

No CWEs

Credits