Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 8.7GHSA-7hvw-3c2q-45qgCVE-2026-103025GO-2026-7009

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

bep imagemeta

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-103025: vulnerabilidad de severidad alta (CVSS 8.7) en bep imagemeta.

Qué ocurre

Descripción original de la fuente (en inglés): 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.

Por qué importa

Severidad alta, CVSS 8.7.

Productos y versiones afectados

github.com/bep/imagemeta < 0.17.3 (corregido en 0.17.3); bep imagemeta < 0.17.3

ProductoVersionesCorregido en
github.com/bep/imagemeta< 0.17.30.17.3
bep imagemeta< 0.17.3—

Acción recomendada por la fuente

Actualizar a una versión corregida: 0.17.3.

Corregido en: 0.17.3

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-409, CWE-789

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.