Skip to content
Heist/ feed
Back to feed
Medium

golang-golang-x-image — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-42500

Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.

Products
golang-golang-x-image
Affected versions
0.0~git20170523.0.426cfd8-1, 0.0~git20190703.d6a02ce-1, 0.0~git20200119.58c2397-1, 0.0~git20210628.a66eb64-1, 0.0~git20211028.6944b10-1, 0.13.0-1, 0.14.0-1, 0.15.0-1, 0.18.0-1, 0.32.0-1, 0.35.0-1, 0.39.0-1, 0.42.0-1, 0.45.0-1, 0.7.0-1
Fixed versions
Not specified
CVEs
CVE-2026-42500
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:03 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-42500

core-osv · Original source

Published 29 May 2026, 20:16 UTC

Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.

osv:UBUNTU-CVE-2026-42500

golang-golang-x-image

Fixed versions: Not specified

golang-golang-x-image

Fixed versions: Not specified

golang-golang-x-image

Fixed versions: Not specified

golang-golang-x-image

Fixed versions: Not specified

golang-golang-x-image

Fixed versions: Not specified

golang-golang-x-image

Fixed versions: Not specified

golang-golang-x-image

Fixed versions: Not specified

Complete source record
{
  "id": "ecefeddd469955d0f485134477c199c74b9a0dc7555024c7cd732f38fddf0fa6",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-42500",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-42500",
    "summary": "Decoding a paletted BMP file with an out-of-range palette index results in a panic when accessing pixels in the invalid image.",
    "evidence": "osv:UBUNTU-CVE-2026-42500",
    "products": [
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20170523.0.426cfd8-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20190703.d6a02ce-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0~git20200119.58c2397-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20200119.58c2397-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0~git20210628.a66eb64-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0~git20211028.6944b10-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.7.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.13.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.14.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.15.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.18.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.35.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.39.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.42.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.45.0-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-golang-x-image",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.18.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.32.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.35.0-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-42500",
      "aliases": [
        "UBUNTU-CVE-2026-42500"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.0~git20170523.0.426cfd8-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.0~git20170523.0.426cfd8-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.0~git20190703.d6a02ce-1",
            "0.0~git20200119.58c2397-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.0~git20200119.58c2397-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.0~git20200119.58c2397-1",
            "0.0~git20210628.a66eb64-1",
            "0.0~git20211028.6944b10-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.0~git20211028.6944b10-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.7.0-1",
            "0.13.0-1",
            "0.14.0-1",
            "0.15.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.15.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.18.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.18.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.35.0-1",
            "0.39.0-1",
            "0.42.0-1",
            "0.45.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.45.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-golang-x-image",
            "purl": "pkg:deb/ubuntu/golang-golang-x-image?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.18.0-1",
            "0.32.0-1",
            "0.35.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42500.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-golang-x-image-dev",
                "binary_version": "0.35.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:05.337953599Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-42500"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-42500",
        "https://www.cve.org/CVERecord?id=CVE-2026-42500",
        "https://github.com/golang/go/issues/79576",
        "https://go-review.googlesource.com/c/image/+/781500",
        "https://go.dev/cl/781500",
        "https://go.dev/issue/79576",
        "https://groups.google.com/g/golang-announce/c/uhYX90BlBvI",
        "https://pkg.go.dev/vuln/GO-2026-5031"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-42500",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360299,
  "published_at": "2026-05-29T20:16:00+00:00"
}