CVE-2026-33809

OOM from malicious IFD offset in golang.org/x/image/tiff

Published Mar 25, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A maliciously crafted TIFF file can cause image decoding to attempt to allocate up 4GiB of memory, causing either excessive resource consumption or an out-of-memory error.

Analysis

AI-generated

Technical impact

A maliciously crafted TIFF file can force the Go image/tiff decoder to try allocating up to 4 GiB of memory, which may overwhelm the system or trigger an out‑of‑memory condition. The result is a denial of service by exhausting available resources.

Affected Systems

The vulnerability exists in golang.org/x/image, specifically the golang.org/x/image/tiff package. Version information is not specified in the advisories, so any installation of this package that contains the buggy decoder may be affected.

Risk and Exploitability

With a CVSS score of 5.3 the severity is moderate. The EPSS score is less than 1% (approximately 0.00012), indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The vulnerability is triggered by supplying a crafted TIFF file; therefore, the likely attack vector is through arbitrary file processing, either locally by users who can supply files or remotely if the application accepts uploads. Exploitation requires only the presence of a vulnerable decoder and a malicious file. Once triggered, the service can be brought down or degraded by exhausting memory resources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest release of golang.org/x/image that includes the fix for the TIFF decoder.
  • If an upgrade cannot be performed immediately, restrict processing of TIFF files to trusted or verified sources, and validate file size before decoding.
  • Run the image decoding components in a constrained environment (e.g., containers with memory limits) to limit the impact of an out‑of‑memory failure.

Generated by OpenCVE AI on April 22, 2026 at 06:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-44p7-9xx4-hf2g Go Images vulnerable to an out-of-memory error via a crafted TIFF file
History
Type Values Removed Values Added
Weaknesses CWE-434
CPEs cpe:2.3:a:golang:tiff:*:*:*:*:*:go:*:*
Type Values Removed Values Added
First Time appeared Golang
Golang image
Golang tiff
Vendors & Products Golang
Golang image
Golang tiff
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A maliciously crafted TIFF file can cause image decoding to attempt to allocate up 4GiB of memory, causing either excessive resource consumption or an out-of-memory error.
Title OOM from malicious IFD offset in golang.org/x/image/tiff
References
Weaknesses
  • CWE-1285

    Improper Validation of Specified Index, Position, or Offset in Input

  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Apr 6, 2026, 9:12 PM
Reserved
Mar 23, 2026, 8:35 PM
Status
Analyzed
Published
Mar 25, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:38 AM
Severity
Moderate
Public date
Mar 25, 2026, 6:24 PM