CVE-2025-32024
bep/imagemeta allows excessively large EXIF data structures
Reported by github_m · Published April 8, 2025
github.com/bep/imagemeta is fixed in 0.10.0 (Go Modules)
bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files. 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. v0.10.0 added LimitNumTags (default 5000) and LimitTagSize (default 10000) options.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/bep/imagemeta | Go Modules | 0.10.0 |
| mattermost-10.7 | Wolfi | 10.7.2-r1 |
| mattermost-10.6 | Wolfi | 10.6.3-r1 |
| mattermost-fips-10.7 | Chainguard | 10.7.2-r1 |
| mattermost-10.5 | Chainguard | 10.5.4-r1 |
| mattermost-9.11 | Chainguard | 9.11.13-r1 |
| mattermost-fips-10.6 | Chainguard | 10.6.3-r1 |
| mattermost-10.7 | Chainguard | 10.7.2-r1 |
| mattermost-fips-10.5 | Chainguard | 10.5.4-r1 |
| mattermost-10.5 | Wolfi | 10.5.4-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| bep | imagemeta | < 0.10.0 |
| wolfi | mattermost-10.7 | 0 |
| wolfi | mattermost-10.6 | 0 |
| chainguard | mattermost-fips-10.7 | 0 |
| chainguard | mattermost-10.5 | 0 |
| chainguard | mattermost-9.11 | 0 |
| github.com | bep/imagemeta | 0 |
| chainguard | mattermost-fips-10.6 | 0 |
| chainguard | mattermost-10.7 | 0 |
| chainguard | mattermost-fips-10.5 | 0 |
| wolfi | mattermost-10.5 | 0 |
| bep | imagemeta | 0 |
| chainguard | mattermost-10.6 | 0 |
| chainguard | mattermost-fips-9.11 | 0 |
Timeline
- Apr 8, 2025 CVE Published
- Apr 8, 2025 PoC Published
- Apr 9, 2025 EPSS Score (30 in total, the first dated here)
- Apr 9, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
- Jun 12, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-32024
vulnetix vdb fixes CVE-2025-32024
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-32024/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/bep/imagemeta/security/advisories/GHSA-q7rw-w4cq-2j6w x_refsource_CONFIRM
- https://github.com/bep/imagemeta/commit/4fd89616d8bf7f9bb892360d3fb19080ec2b4602 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-32024 advisory
- https://github.com/advisories/GHSA-q7rw-w4cq-2j6w advisory
- https://github.com/bep/imagemeta url