CVE catalog

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.

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-golang-x-imagesid0.47.0-1fixed
Debiangolang-golang-x-imageforky0.47.0-1fixed
Debiangolang-golang-x-imagetrixie0.18.0-1vulnerable
Debiangolang-golang-x-imagebookworm0.5.0-1vulnerable
Cpegolang-golang-x-imageNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-golang-x-imagesourcesid0.42.0-1not yet assignedNot reported[1138257]
Debiangolang-golang-x-imagesourceforky0.42.0-1not yet assignedNot reported[1138257]
Debiangolang-golang-x-imagesourcetrixie(unfixed)not yet assignedNot reported[1138257]
Debiangolang-golang-x-imagesourcebookworm(unfixed)not yet assignedNot reported[1138257]

[Debian bug #1138257]

Notes

[trixie] golang-golang-x-image: Minor issue [bookworm] golang-golang-x-image: Limited support, minor issue; BMP OOB read

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-golang-x-image]

    Details (2)
    • 0.5.0-1 · all · bookworm

      Affected

      nvd · golang-golang-x-image · debian · bookworm; nvd · golang-golang-x-image · debian · 12

    • 0.5.0-1 · all · bookworm

      Affected

      nvd · golang-golang-x-image · debian · bookworm; nvd · golang-golang-x-image · debian · 12

[Debian 13 (Trixie)]

  • Source package: [golang-golang-x-image]

    Details (2)
    • 0.18.0-1 · all · trixie

      Affected

      nvd · golang-golang-x-image · debian · 13

    • 0.18.0-1 · all · trixie

      Affected

      nvd · golang-golang-x-image · debian · 13

Observed:

References