CVE-2026-103025

GHSA-7hvw-3c2q-45qg · GO-2026-7009 · published 19 Nov 2026 · updated 23 Nov 2026

bep/imagemeta: Unbounded memory allocation decoding PNG `zTXt` "Raw profile type iptc" chunks

8.7HighCVSS 8.7EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in github.com/bep/imagemeta 0.17.3.

bep/imagemeta is a Go library for reading EXIF, IPTC and XMP image meta data from JPEG, TIFF, PNG, and WebP files. Prior to 0.17.3, imagemeta.Decode could exhaust memory when parsing PNG zTXt chunks whose keyword is "Raw profile type iptc": the declared chunk length can drive an allocation far larger than the input file, and the embedded zlib stream is decompressed without an output limit. The advisory reports a 42-byte input causing a 256 MB allocation and a 127 KB input inflating to 460 MB. The oversized-allocation path's memory effect depends on platform overcommit and configured GOMEMLIMIT or cgroup limits, while the decompression path reliably creates resident memory. Applications that decode untrusted PNGs with IPTC metadata processing can therefore suffer denial of service through memory exhaustion. This issue is fixed in 0.17.3.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
bep<0.17.3
go: github.com/bep/imagemeta<0.17.30.17.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-103025 severity on Zeptric[![CVE-2026-103025](https://zeptric.io/badge/cve/CVE-2026-103025.svg)](https://zeptric.io/cve/CVE-2026-103025)