Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted PNG to image endpoint
-
Exploitimagemeta.Decode parses 'Raw profile type iptc' zTXt chunk
-
ExecutionDeclared length and zlib stream drive unbounded allocation
-
ImpactProcess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-130688
GHSA-7hvw-3c2q-45qg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB