VDB
Sign up
HIGH7.5

GO-2026-5062

Lack of limit on tile sizes in x/image/tiff in golang.org/x/image

Quick fix

GO-2026-5062 — golang.org/x/image: upgrade to the fixed version with the command below.

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

Details

The TIFF decoder does not set a limit on the size of tiles in tiled images, permitting a malicious or corrupt image containing a very large tile to cause unbounded memory consumption.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/golang.org/x/image"]}'