GHSA-54p8-x2m9-c593
MEDIUM 5.3CVSS 3.1malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability
Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.
This report is an aggregate of these individual reports for the affected code:
| Advisory | Affected File |
|---|---|
GHSA-jjgh-mc5q-gch7 |
pkg/action/scan.go |
GHSA-mwmf-fxh2-w4x7 |
pkg/archive/deb.go |
GHSA-p8j3-rpf5-gwv3 |
pkg/archive/gzip.go |
GHSA-qfh4-7f5v-75gq |
pkg/archive/zlib.go |
GHSA-wxxf-r586-5rf5 |
pkg/archive/bzip2.go |
Fix: #1354, #1355, #1356, #1361
Acknowledgements
Thank you to Oleh Konko from 1seal for discovering and reporting all six of these issues.
- Published
- 2 Mar 2026
- Last modified
- 23 Mar 2026
- Weakness
- CWE-400
- Also known as
- GO-2026-4583
- Sources
- OSVJSONOSV GO-2026-4583JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/chainguard-dev/malcontent | < 1.21.0 | 1.21.0 |
References
- https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-54p8-x2m9-c593 · WEB, ADVISORY
- https://github.com/chainguard-dev/malcontent/pull/1354 · WEB, FIX
- https://github.com/chainguard-dev/malcontent/pull/1355 · WEB, FIX
- https://github.com/chainguard-dev/malcontent/pull/1356 · WEB, FIX
- https://github.com/chainguard-dev/malcontent/pull/1361 · WEB, FIX
- https://github.com/chainguard-dev/malcontent · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Mar 2026)