# malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability

Source: https://junglewise.ai/threats/malcontent-error-path-cleanup-gap-can-leak-scanners-and-fds-and-degrade-b4b87df9  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-02  
License: CC BY 4.0 with a link back

Severity: low · CVSS 3.1 · Published 2026-03-02

malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability

Technologies: [github.com/chainguard-dev/malcontent (Go)](https://junglewise.ai/threats/technologies/github-com-chainguard-dev-malcontent). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Low severity, with a CVSS score of 3.1, published 2 March 2026.

**Which products and versions are affected?** github.com/chainguard-dev/malcontent (Go) SEMVER:introduced=0,fixed=1.21.0.

**Is there a fix for This vulnerability?** Yes. github.com/chainguard-dev/malcontent (Go): upgrade to 1.21.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/chainguard-dev/malcontent (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

- github.com/chainguard-dev/malcontent (Go): upgrade to 1.21.0 or later

  ```sh
  go get github.com/chainguard-dev/malcontent@v1.21.0
  ```


## Affected products

- github.com/chainguard-dev/malcontent (Go) SEMVER:introduced=0,fixed=1.21.0

## Related threats

- [malcontent: Nested archive extraction failure can drop content from scan inputs](https://junglewise.ai/threats/cve-2026-28407-malcontent-nested-archive-extraction-failure-can-drop-content)
- [GO-2026-4583 - malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability in…](https://junglewise.ai/threats/go-2026-4583-malcontent-error-path-cleanup-gap-can-leak-scanners-and-ff1413ad)
- [malcontent OCI image pull credential exfiltration via malicious registry token realm](https://junglewise.ai/threats/cve-2026-24845-malcontent-oci-image-pull-credential-exfiltration-via-malicious)
- [malcontent vulnerable to symlink Path Traversal via handleSymlink argument confusion in archive extraction](https://junglewise.ai/threats/cve-2026-24846-malcontent-vulnerable-to-symlink-path-traversal-via-handlesymlink)
