- Accueil
- Vulnérabilités
- CVE-2026-103025
CVE-2026-103025
bep/imagemeta: Unbounded memory allocation decoding PNG `zTXt` "Raw profile type iptc" chunks
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| imagemeta | Versions non précisées | — | CNA (éditeur ou attributeur) |
Go (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GO-2026-7009 — bep/imagemeta: Unbounded memory allocation decoding PNG `zTXt` "Raw profile type iptc" chunks in github.com/bep/imagemeta 23 nov. 2026
- GHSA-7hvw-3c2q-45qg — bep/imagemeta: Unbounded memory allocation decoding PNG `zTXt` "Raw profile type iptc" chunks 20 nov. 2026
Références
- https://github.com/bep/imagemeta/security/advisories/GHSA-7hvw-3c2q-45qgx_refsource_CONFIRM
- https://github.com/bep/imagemeta/pull/69x_refsource_MISC
- https://github.com/bep/imagemeta/commit/2289fdf83fcd238d86f72e65c588da687c998437x_refsource_MISC
- https://github.com/bep/imagemeta/releases/tag/v0.17.3x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-103025ADVISORY
- https://github.com/bep/imagemetaPACKAGE
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)