Golang github bep imagemeta: Prior to 0.17.3, imagemeta.Decode could exhaust memory when parsing PNG zTXt chunks whose
Affects golang-github-bep-imagemetaSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 0.17.3 soon.
Data as of 25 Nov 2026, 22:37 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.7 |
|---|
- Patch
- Available – fixed in 0.17.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade github.com/bep/imagemeta to 0.17.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-bep-imagemetapkg:deb/ubuntu/golang-github-bep-imagemeta?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-bep-imagemetapkg:deb/ubuntu/golang-github-bep-imagemeta?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Gogithub.com/bep/imagemetapkg:golang/github.com/bep/imagemetaOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-103025 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-103025 (opens in a new tab)
- github.com/bep/imagemeta/commit/2289fdf83fcd238d86f72e65c588da687c998437 (opens in a new tab)
- github.com/bep/imagemeta/pull/69 (opens in a new tab)
- github.com/bep/imagemeta/releases/tag/v0.17.3 (opens in a new tab)
- github.com/bep/imagemeta/security/advisories/GHSA-7hvw-3c2q-45qg (opens in a new tab)