Skip to main content

imagemeta EUVDEUVD-2026-130688

| CVE-2026-103025 HIGH
Memory Allocation with Excessive Size Value (CWE-789)
2026-11-19 GitHub_M GHSA-7hvw-3c2q-45qg
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Upload crafted PNG to image endpoint
  2. Exploit
    imagemeta.Decode parses 'Raw profile type iptc' zTXt chunk
  3. Execution
    Declared length and zlib stream drive unbounded allocation
  4. Impact
    Process memory exhausted, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires the application to call imagemeta.Decode on an attacker-supplied PNG with IPTC in Options.Sources, so that the zTXt 'Raw profile type iptc' branch is reached; the malicious PNG must contain a zTXt chunk with that exact keyword, either declaring an oversized chunk length or embedding a small zlib stream that inflates without bound. No authentication is required (PR:N) and no user interaction beyond submitting the image. Limiting factors: the application must actually decode untrusted PNGs and must have IPTC parsing enabled (clearing IPTC from Options.Sources fully avoids the path); the oversized make() allocation's impact depends on platform overcommit behavior and any configured GOMEMLIMIT or cgroup limit, whereas the zlib decompression-bomb path reliably produces resident memory regardless. Bounding or rejecting PNG input size before calling Decode also prevents the attack; the only complete fix is updating to v0.17.3.

Impact

All signals agree this is a genuine availability-only denial-of-service issue, not a code-execution threat. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated triggering with no attack requirements, and VC:N/VI:N/VA:H confirms impact is confined to availability via memory exhaustion (CWE-789, allocation of resources without limits). No EPSS score was supplied, KEV status is not listed (treat as not confirmed actively exploited), and there is no standalone weaponized exploit - only the fix PR's reproduction test. The vuln.today decision label is 'this_week', consistent with a serious but non-emergency DoS rather than an act_now/emergency item. The headline 8.7 score is driven by VA:H plus the easy unauthenticated network vector; real-world priority is moderated by the fact that the impact ceiling is service disruption only and exploitation requires the application to actually feed untrusted PNGs through imagemeta with IPTC parsing enabled. The advisory itself distinguishes two paths: the oversized make() allocation, whose effect depends on platform overcommit and any configured GOMEMLIMIT or cgroup limit, and the zlib decompression bomb, which is the more reliable vector because it produces genuinely resident memory - so defenders on hosts with strict memory limits still face a reliable DoS via the decompression path even where the make() path is mitigated by the environment.

Exploit ScenarioDerived

An attacker supplies a crafted PNG - for example via an avatar/image upload endpoint or any feature that parses user-provided images - to an application that calls imagemeta.Decode with IPTC metadata processing enabled. The PNG carries a zTXt chunk keyed 'Raw profile type iptc' whose declared length and/or embedded zlib stream force an allocation far larger than the file (the advisory documents a 42-byte file allocating 256 MB and a 127 KB file inflating to 460 MB), exhausting memory and denying service. A public PoC reference exists in the fix PR's security_test.go reproduction harness; it is not verified as standalone working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Memory exhaustion in the bep/imagemeta Go library prior to 0.17.3 allows unauthenticated remote attackers to cause denial of service against applications that call imagemeta.Decode on untrusted PNGs with IPTC metadata processing enabled. A crafted zTXt chunk carrying the keyword "Raw profile type iptc" either declares a chunk length that drives a make() allocation far larger than the input file or embeds a small zlib stream that is inflated with no output bound - the advisory reports a 42-byte file causing a 256 MB allocation and a 127 KB file inflating to 460 MB. The decompression-bomb path reliably produces resident memory, so the impact is availability-only (CVSS 8.7, A:H); no public exploit code was identified at time of analysis, and the issue is fixed in v0.17.3.

RemediationAI

Vendor-released patch: upgrade github.com/bep/imagemeta to v0.17.3 (module go/github.com/bep/imagemeta), which bounds wire-driven allocations to maxBufSize, caps zlib inflation via io.LimitReader, and rejects short or empty zTXt data; the fix is visible in PR https://github.com/bep/imagemeta/pull/69 and the release https://github.com/bep/imagemeta/releases/tag/v0.17.3, with the advisory at https://github.com/bep/imagemeta/security/advisories/GHSA-7hvw-3c2q-45qg. Until the dependency can be updated, the advisory's workarounds are to reject or bound PNG input size before calling Decode - noting this only addresses the declared-length allocation and does not stop a small file whose zlib stream inflates heavily - or to clear IPTC from Options.Sources when IPTC metadata is not required, which removes the vulnerable path entirely at the cost of losing IPTC extraction. Updating to v0.17.3 is the only complete fix; setting GOMEMLIMIT or cgroup limits changes the consequences of the oversized allocation but does not prevent the resident-memory decompression path.

Affected VersionsENISA

ImageMeta < 0.17.3

Affected Packages

go github.com/bep/imagemeta fix: 0.17.3
euvd imagemeta fix: 0.17.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-789 (memory allocation with an excessive size value) in a pure-Go image metadata parser that reads EXIF, IPTC and XMP from JPEG, TIFF, PNG and WebP. In the PNG decoder's zTXt branch, data is only processed when the chunk keyword matches "Raw profile type iptc": the declared chunk length read off the wire was passed into an allocation without any upper bound, and the embedded zlib stream was handed to io.ReadAll with no limit on inflated output. Neither behavior is constrained by input file size, so a tiny file can demand hundreds of megabytes. The upstream fix in PR #69 adds a shared maxBufSize check inside the stream reader's readNFromRIntoBuf primitives (rejecting negative and oversized lengths, mirroring the bound the eXIf path already inherited via bufferedReader), replaces the unbounded io.ReadAll with io.ReadAll(io.LimitReader(z, maxBufSize+1)) plus an explicit "uncompressed zTXt size exceeds max" error, rejects empty zTXt data and data shorter than the profile keyword, and additionally corrects an off-by-one length guard in resolveCodedCharacterSet in the IPTC decoder. The root cause class matters here because allocation failure or memory pressure in Go is not recoverable as a panic the way some runtime errors are, which is why the advisory frames both paths as denial of service.

Know when Imagemeta gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

Unauthenticated network-reachable decode of untrusted PNG with low complexity (PR:N/AC:L/AV:N); impact is availability-only memory exhaustion, so C:N/I:N and A:H, scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 21:19 EUVD
CVE Published
Nov 19, 2026 - 19:45 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Technical POC Analysis

Bug class: CWE-789, Memory Allocation with Excessive Size Value (uncontrolled memory allocation / decompression bomb).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-103025 is a high-severity memory exhaustion vulnerability in the bep/imagemeta Go library, affecting any application that processes untrusted PNG images with IPTC metadata enabled. Unauthenticated attackers can send a small crafted image file to trigger massive memory allocations, potentially crashing services and disrupting availability for end users. Leadership should prioritize this if the organization relies on Go-based image processing in customer-facing or critical internal systems, as exploitation could lead to service outages.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to bep/imagemeta v0.17.3. If immediate patching is not possible, disable IPTC metadata processing in imagemeta.Decode or reject PNGs containing zTXt chunks with the keyword 'Raw profile type iptc' until the upgrade can be completed.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche Go image-metadata library; limited untrusted-PNG-decode exposure in production
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy