home / blog
2026-11-20 · high
CVE-2026-103025: Memory Exhaustion in Go Library bep/imagemeta
CVSS 8.7 vulnerability in Go library bep/imagemeta allows DoS when decoding PNG files with IPTC metadata.

CVE-2026-103025 affects the Go library bep/imagemeta used to read image metadata. The vulnerability is in the imagemeta.Decode function, which can exhaust memory when analyzing PNG zTXt chunks with "Raw profile type iptc" keyword.
With a CVSS score of 8.7, this is classified as high severity vulnerability. Technical signals indicate that a 65KB PNG file can allocate about 471MB of memory, causing denial of service. The patch is already available in version 0.17.3.
To protect yourself, immediately update to version 0.17.3 or later. As a temporary workaround, apply file size limits or validate metadata before processing. Monitor memory usage in applications using this library.
At a glance
- What
- Vulnerability in imagemeta.Decode function that causes memory exhaustion during parsing of PNG zTXt chunks with "Raw profile type iptc" keyword
- Severity
- High (CVSS 8.7)
- Affected versions
- Prior to version 0.17.3
- Fix
- Upgrade to version 0.17.3 or later
- Status
- Patched
- Action
- Update the library to version 0.17.3 or later
Sources: NVD, CVE-2026-103025