Skip to content

← Public intelligence

Go package

golang.org/x/image

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

7 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedGoPublished

    Excessive memory allocation during VP8L decoding in golang.org/x/image

    CVE-2026-46603

    Affected
    • Go golang.org/x/image < 0.45.0
    Fixed in
    0.45.0· Vendor fix available
    Issue
    VP8L decoding in golang.org/x/image/vp8l can allocate an excessive amount of memory when processing a crafted VP8L image containing many unused Huffman tree groups. This allows a remote attacker to cause a denial of service via memory exhaustion.

    Recommended action: Upgrade to 0.45.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →
  2. High, CVSS 7.5GoPublished

    golang.org/x/image/tiff has excessive resource consumption in PackBits decompression

    CVE-2026-46599 · GHSA-q675-qj96-32m9

    Affected
    • Go golang.org/x/image < 0.41.0
    Fixed in
    0.41.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 0.41.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 5.3GoPublished

    Go Images vulnerable to an out-of-memory error via a crafted TIFF file

    CVE-2026-33809 · GHSA-44p7-9xx4-hf2g

    Affected
    • Go golang.org/x/image < 0.38.0
    Fixed in
    0.38.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 0.38.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 8.7GoPublished

    Panic when parsing invalid palette-color images in golang.org/x/image

    CVE-2024-24792 · GHSA-9phm-fm57-rhg8

    Affected
    • Go golang.org/x/image < 0.18.0
    Fixed in
    0.18.0· Vendor fix available
    Issue
    Parsing a corrupt or malicious image with invalid color indices can cause a panic.

    Recommended action: Upgrade to 0.18.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 6.5GoPublished

    Golang TIFF decoder does not place a limit on the size of compressed tile data

    CVE-2023-29408 · GHSA-x92r-3vfx-4cv3

    Affected
    • Go golang.org/x/image < 0.10.0
    Fixed in
    0.10.0· Vendor fix available
    Issue
    The TIFF decoder does not place a limit on the size of compressed tile 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, consuming excessive memory and CPU.

    Recommended action: Upgrade to 0.10.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 6.5GoPublished

    Golang TIFF decoder vulnerable to excessive CPU consumption

    CVE-2023-29407 · GHSA-j3p8-6mrq-6g7h

    Affected
    • Go golang.org/x/image < 0.10.0
    Fixed in
    0.10.0· Vendor fix available
    Issue
    A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width height) appearing to be zero.

    Recommended action: Upgrade to 0.10.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 5.5GoPublished

    Uncontrolled Resource Consumption in golang.org/x/image

    CVE-2022-41727 · GHSA-qgc7-mgm3-q253

    Affected
    • Go golang.org/x/image < 0.5.0
    Fixed in
    0.5.0· Vendor fix available
    Issue
    An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.

    Recommended action: Upgrade to 0.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →