VDB
Sign up
HIGH7.5

GHSA-9phm-fm57-rhg8

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

Quick fix

GHSA-9phm-fm57-rhg8 — golang.org/x/image: upgrade to the fixed version with the command below.

go get golang.org/x/image@v0.18.0

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/golang.org/x/image
Introduced in: 0Fixed in: 0.18.0
Fixgo get golang.org/x/image@v0.18.0

References