Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | golang.org/x/image/tiff | before 0.10.0 | 0.10.0 | Patch available | CNA |
| — | golang.org/x/image (Go) | before 0.10.0 | 0.10.0 | Patch available | GHSA-j3p8-6mrq-6g7h |
- golang.org/x/image/tiff VendorGo standard library Affected before 0.10.0 Fixed in 0.10.0 Patch available CNA
- golang.org/x/image (Go) Vendor— Affected before 0.10.0 Fixed in 0.10.0 Patch available GHSA-j3p8-6mrq-6g7h
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:golang:image:*:*:*:*:*:go:*:* | before 0.10.0 | Vulnerable | Go standard library |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
- cpe:2.3:a:golang:image:*:*:*:*:*:go:*:* Versions before 0.10.0 Vulnerable ·Go standard library
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
Remediation
- Fix · CNA golang.org/x/image/tiff (golang.org/x/image) Fixed in 0.10.0
- Fix · GHSA-j3p8-6mrq-6g7h golang.org/x/image (Go) Fixed in 0.10.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
golang.org/x/image/tiff 0.10.0
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2023-13788 Excessive resource consumption in golang.org/x/image/tiffPriority LOW 31
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix planned: Will not fix |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-29407
- 2026-10-03 Alias added: GHSA-j3p8-6mrq-6g7h
References
Advisory 5
- https://go.dev/issue/61581
- https://security.netapp.com/advisory/ntap-20230831-0009/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
- https://nvd.nist.gov/vuln/detail/CVE-2023-29407
Other 5
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK
- https://security.netapp.com/advisory/ntap-20230831-0009
More Go standard library Image vulnerabilities
- TI-2026-26185 Panic when decoding large WEBP image on 32-bit platforms in golang.org/x/image CVSS 3.1HIGH 7.5
- TI-2023-13788 Excessive resource consumption in golang.org/x/image/tiff CVSS 3.1MEDIUM 6.5
- TI-2026-26184 Excessive memory allocation when decoding malicious SFNT in golang.org/x/image CVSS 3.1MEDIUM 6.1
- TI-2022-20117 Denial of service via crafted TIFF image in golang.org/x/image/tiff CVSS 3.1MEDIUM 5.5
Sources
- CVE-2023-29407 · CVE Program
- CVE-2023-29407 · NVD
- FIRST EPSS
- GHSA-j3p8-6mrq-6g7h · GitHub Advisory Database · CC BY 4.0
- CVE-2023-29407 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences