p PatchFirst

CVE-2024-24792

CVE-2024-24792 · Panic when parsing invalid palette-color images in golang.org/x/image

CVSS 7.5 · High · EPSS 0.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-golang-x-image"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Parsing a corrupt or malicious image with invalid color indices can cause a panic.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • golang.org/x/image/tiff

    Versions
    • ≥ 0, < 0.18.0: Affected (semver)

    Update to 0.18.0

  • golang-golang-x-image Debian 12

    Versions
    • 0.11.0-1
    • 0.12.0-1
    • 0.13.0-1
    • 0.14.0-1
    • 0.15.0-1
    • 0.16.0-1
    All versions (18)
    • 0.18.0-1
    • 0.32.0-1
    • 0.35.0-1
    • 0.38.0-1
    • 0.39.0-1
    • 0.42.0-1
    • 0.45.0-1
    • 0.47.0-1
    • 0.5.0-1
    • 0.7.0-1
    • 0.8.0-1
    • 0.9.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Debian 13

    Affected ranges
    • ECOSYSTEM: < 0.18.0-1

    Update to 0.18.0-1

  • golang-golang-x-image Debian 14

    Affected ranges
    • ECOSYSTEM: < 0.18.0-1

    Update to 0.18.0-1

  • golang-golang-x-image Ubuntu 18.04 LTS

    Versions
    • 0.0~git20170523.0.426cfd8-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Ubuntu 20.04 LTS

    Versions
    • 0.0~git20190703.d6a02ce-1
    • 0.0~git20200119.58c2397-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Ubuntu 22.04 LTS

    Versions
    • 0.0~git20200119.58c2397-1
    • 0.0~git20210628.a66eb64-1
    • 0.0~git20211028.6944b10-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Ubuntu 24.04 LTS

    Versions
    • 0.7.0-1
    • 0.13.0-1
    • 0.14.0-1
    • 0.15.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Ubuntu 25.10

    Versions
    • 0.18.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Ubuntu 26.10

    Versions
    • 0.35.0-1
    • 0.39.0-1
    • 0.42.0-1
    • 0.45.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-image Ubuntu 26.04 LTS

    Versions
    • 0.18.0-1
    • 0.32.0-1
    • 0.35.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →