Skip to main content

golang.org/x/image CVE-2026-46599

| EUVDEUVD-2026-33432 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-05-29 Go GHSA-q675-qj96-32m9
7.5
CVSS 3.1 · Vendor: Go
View

Attack ChainAIDerived

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

  1. Access
    Identify Go service accepting image uploads
  2. Delivery
    Craft small TIFF with amplified PackBits runs
  3. Exploit
    Submit image to decode endpoint
  4. Execution
    Decoder processes oversized compressed stream
  5. Persist
    CPU and memory exhaustion on worker
  6. Impact
    Repeat to sustain denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must use golang.org/x/image/tiff at a version below 0.41.0 and must invoke its decoder on TIFF data supplied by an untrusted source (HTTP upload, fetched URL, message attachment, etc.). No authentication, no user interaction, and no special server configuration are required beyond exposing a code path that decodes attacker-controlled TIFF input; the CVSS vector AV:N/AC:L/PR:N/UI:N matches this. Limiting factors: services that do not accept TIFF, that use a different TIFF library (e.g., libtiff via cgo), that strictly cap request body size and decoder memory, or that only decode trusted internal images are not realistically exploitable, and impact is confined to availability (C:N/I:N/A:H) - no code execution or data disclosure.

Impact

The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a pure availability impact reachable over the network with no authentication, no user interaction, and low complexity - consistent with a decompression-bomb style DoS in any service that accepts user-supplied TIFF data. The EPSS score of 0.02% (5th percentile) and the absence of CISA KEV listing indicate that, despite the high CVSS, opportunistic mass exploitation is not currently observed; this is typical of library-level DoS issues where impact depends on whether the calling application exposes the decoder to untrusted input. The 'Denial Of Service' tag, low-severity confidentiality/integrity impact, and the availability of an upstream fix tagged at v0.41.0 align across NVD, the Go vulnerability database (GO-2026-5032), and ENISA EUVD-2026-33432, so signal sources are consistent. Net: prioritize for any internet-facing Go service that ingests TIFF images, but it is not an emergency for back-office or trusted-input use cases.

Exploit ScenarioDerived

An attacker uploads or links a small, innocuous-looking TIFF file to a Go-based web service - for example an avatar uploader, document/image conversion API, or thumbnail generator - that internally calls golang.org/x/image/tiff. The crafted PackBits stream causes the decoder to process vastly more compressed data than the image's tiny declared dimensions and file size suggest, driving CPU and memory exhaustion on the worker; repeated requests amplify the effect into a sustained denial of service. No public exploit identified at time of analysis, but the bug class (decompression bomb) is well understood and trivially reproducible once the parser path is known.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 01, 2026

Denial-of-service in the Go golang.org/x/image/tiff package (versions before 0.41.0) allows remote attackers to exhaust memory or CPU by submitting a small, maliciously-crafted TIFF image whose PackBits-compressed stream decodes to disproportionately large output. Any Go service that parses untrusted TIFF input via this library is exposed; no public exploit identified at time of analysis and EPSS exploitation probability is very low (0.02%, 5th percentile).

RemediationAI

Upgrade the golang.org/x/image dependency to v0.41.0 or later (Vendor-released patch: 0.41.0); run 'go get golang.org/x/image@v0.41.0' followed by 'go mod tidy' and rebuild, and use 'govulncheck ./...' to confirm GO-2026-5032 is no longer reported. Validate the fix against the upstream advisory at https://pkg.go.dev/vuln/GO-2026-5032 and the announcement at https://groups.google.com/g/golang-announce/c/uhYX90BlBvI. Where an immediate upgrade is not possible, compensating controls include rejecting TIFF uploads at the application boundary (content-type and magic-byte allowlists), enforcing a strict maximum request/body size on endpoints that accept images (trade-off: legitimate large uploads are blocked), running TIFF decoding in a subprocess or sandbox with hard memory and CPU limits (e.g., cgroups, GOMEMLIMIT) so a bomb crashes only the worker rather than the parent (trade-off: added operational complexity and per-request overhead), and pre-validating declared image dimensions and on-disk size ratios before invoking the decoder (trade-off: may still be bypassed because the bug is precisely that a small declared size can decode to large data).

Affected VersionsENISA

golang.org/x/image/tiff 0 <0.41.0

Affected Packages

go golang.org/x/image fix: 0.41.0
euvd golang_org_x_image_tiff fix: 0.41.0

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 affected component is the TIFF decoder shipped in the Go supplementary imaging library (CPE cpe:2.3:a:golang.org/x/image:golang.org/x/image/tiff). PackBits is a simple run-length encoding scheme defined in the TIFF specification where short control bytes can expand into long output runs, creating a natural amplification primitive. The root cause maps to CWE-770 (Allocation of Resources Without Limits or Throttling): the decoder honors the encoded run counts and allocates/decodes the resulting output without bounding it against the declared image dimensions or a hard ceiling, so a tiny on-disk file with small width/height can still drive the decoder to process huge volumes of compressed data.

Know when Golang Org X Image Tiff 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 (Go) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 6.5 MEDIUM

Primary rating from Vendor (Go).

CVSS VectorVendor: Go

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Jun 01, 2026 - 15:22 NVD
7.5 (HIGH)
Patch available
May 29, 2026 - 21:02 EUVD
CVE Published
May 29, 2026 - 19:35 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

The TIFF decoder does not place a limit on the size of PackBits-compressed data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height and encoded size) to make the decoder decode large amounts of compressed data.

Executive ViewAI

Why It Matters

The Go image/tiff library contains a memory exhaustion vulnerability (CVE-2026-46599, CVSS 7.5) affecting any application processing untrusted TIFF files, potentially causing service denial. While no public exploit identified at time of analysis, organizations with image processing pipelines face moderate availability risk. Remediation requires upgrading to golang.org/x/image/tiff version 0.41.0 or later.

Business Impact: Medium
Compensating Controls

Apply vendor patch: golang.org/x/image/tiff version 0.41.0 or later.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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.0%
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
Medium
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

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