1. Accueil
  2. Vulnérabilités
  3. CVE-2026-103025

CVE-2026-103025

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

Publiée le 19 nov. 2026 · modifiée le 19 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 50/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

bep (1 ligne(s))
bep
ProduitVersionsCorrigé dansSource
imagemeta Versions non précisées — CNA (éditeur ou attributeur)
Go (2 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/bep/imagemeta avant 0.17.3 (exclu) 0.17.3 GitHub Advisory
github.com/bep/imagemeta avant 0.17.3 (exclu) 0.17.3 OSV

Correctif

Mise à jour — Go/github.com/bep/imagemeta 0.17.3source officielle

Source : GitHub Advisory

Mise à jour — Go/github.com/bep/imagemeta 0.17.3source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-409 · Autre (CWE-409)

Comment sont obtenues et calculées ces données