nday
CVE-2026-103025 GHSA-7hvw-3c2q-45qg

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

bep / imagemeta

A public PoC appeared 1 day after disclosure. Patched: fixed in github.com/bep/imagemeta 0.17.3. Listed by 1 of 4 PoC sources: github. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-409, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-7hvw-3c2q-45qgCWE-789, stated by the CNA GitHub_M, NVD, republishing [email protected], and GitHub advisory GHSA-7hvw-3c2q-45qg
remote, unauthenticated
AV:N, PR:N, UI:N in 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) from the CNA GitHub_M
network
AV:N in 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) from the CNA GitHub_M
no authentication required
PR:N in 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) from the CNA GitHub_M
no user interaction
UI:N in 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) from the CNA GitHub_M
Go
GHSA-7hvw-3c2q-45qg: go packages github.com/bep/imagemeta
stage
POC
disclosed
disclosure → PoC
T+1d POC is date-only
cvss
8.7 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
11-19T19:45Z
PATpatch
11-20T01:04Z
ANAanalysis
no record yet
POCPoC
11-20, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.7, high.

src cvelist · nday , observed live · raw
{
  "id": 487798,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-103025",
  "occurred_at": "2026-11-19T19:45:42.982Z",
  "observed_at": "2026-11-19T20:01:12.557339Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "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",
      "version": "4.0",
      "base_score": 8.7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-19T20:29:36.832265Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-19T19:45:42.982Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version github.com/bep/imagemeta 0.17.3. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-7hvw-3c2q-45qg · nday , observed live · raw
{
  "id": 492298,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-7hvw-3c2q-45qg",
  "occurred_at": null,
  "observed_at": "2026-11-20T01:04:39.062031Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-7hvw-3c2q-45qg",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 8.7,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Improper Handling of Highly Compressed Data (Data Amplification)",
        "cwe_id": "CWE-409"
      },
      {
        "name": "Memory Allocation with Excessive Size Value",
        "cwe_id": "CWE-789"
      }
    ],
    "ghsa_id": "GHSA-7hvw-3c2q-45qg",
    "packages": [
      {
        "name": "github.com/bep/imagemeta",
        "ecosystem": "go",
        "first_patched_version": "0.17.3",
        "vulnerable_version_range": "< 0.17.3"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/bep/imagemeta/security/advisories/GHSA-7hvw-3c2q-45qg",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-103025",
      "https://github.com/bep/imagemeta/pull/69",
      "https://github.com/bep/imagemeta/commit/2289fdf83fcd238d86f72e65c588da687c998437",
      "https://github.com/bep/imagemeta/releases/tag/v0.17.3",
      "https://github.com/advisories/GHSA-7hvw-3c2q-45qg"
    ],
    "fix_commit_urls": [
      "https://github.com/bep/imagemeta/pull/69",
      "https://github.com/bep/imagemeta/commit/2289fdf83fcd238d86f72e65c588da687c998437"
    ],
    "github_reviewed_at": "2026-11-20T00:20:52Z",
    "advisory_updated_at": "2026-11-20T00:20:53Z",
    "source_code_location": "https://github.com/bep/imagemeta",
    "advisory_published_at": "2026-11-20T00:20:52Z"
  }
}
2026-11-20date only, from source
+POCpublic PoC

PoC repository on GitHub: googlesky/CVE-2026-103025. The date is the repository's creation day.

src github 1464939672 · nday , observed live · raw
{
  "id": 494395,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-103025",
  "occurred_at": "2026-11-20T03:36:32Z",
  "observed_at": "2026-11-20T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1464939672",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-103025",
    "title": "googlesky/CVE-2026-103025",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.