# CVE-2022-41727: GO-2023-1572 - Denial of service via crafted TIFF image in golang.org/x/image/tiff

Source: https://junglewise.ai/threats/cve-2022-41727-uncontrolled-resource-consumption-in-golang-org-x-image  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-02-16  
License: CC BY 4.0 with a link back

CVE-2022-41727 · Severity: low · CVSS 3.1 · Published 2023-02-16

Denial of service via crafted TIFF image in golang.org/x/image/tiff

Technologies: [golang.org/x/image (Go)](https://junglewise.ai/threats/technologies/golang-org-x-image). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-41727 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-41727 being exploited in the wild.

**How severe is CVE-2022-41727?** Low severity, with a CVSS score of 3.1, published 16 February 2023.

**Which products and versions are affected?** golang.org/x/image (Go) SEMVER:introduced=0,fixed=0.5.0.

**Is there a fix for CVE-2022-41727?** Yes. golang.org/x/image (Go): upgrade to 0.5.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-41727?** Check whether you run golang.org/x/image (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- golang.org/x/image (Go): upgrade to 0.5.0 or later

  ```sh
  go get golang.org/x/image@v0.5.0
  ```


## Affected products

- golang.org/x/image (Go) SEMVER:introduced=0,fixed=0.5.0

## Identifiers

- CVE-2022-41727
- GHSA-qgc7-mgm3-q253
- GO-2023-1572

## Related threats

- [GO-2026-6222 - Excessive memory allocation during VP8L decoding in golang.org/x/image](https://junglewise.ai/threats/cve-2026-46603-go-2026-6222-excessive-memory-allocation-during-vp8l-decoding-in)
- [Go x/image/tiff denial of service via out-of-bounds strip offset](https://junglewise.ai/threats/cve-2026-46604-go-x-image-tiff-denial-of-service-via-out-of-bounds-strip-offset)
- [Go x/image/tiff unbounded memory consumption in TIFF decoder](https://junglewise.ai/threats/cve-2026-46602-go-x-image-tiff-unbounded-memory-consumption-in-tiff-decoder)
- [Go x/image/webp denial of service via mismatched VP8 dimensions](https://junglewise.ai/threats/cve-2026-46601-go-x-image-webp-denial-of-service-via-mismatched-vp8-dimensions)
- [Go x/image/tiff resource exhaustion in PackBits decompression](https://junglewise.ai/threats/cve-2026-46599-go-x-image-tiff-resource-exhaustion-in-packbits-decompression)
