{"id":"GHSA-54p8-x2m9-c593","aliases":["GHSA-54p8-x2m9-c593","GO-2026-4583"],"related":[],"kind":"vulnerability","state":"published","title":"malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability","summary":"Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.\n\nThis report is an aggregate of these individual reports for the affected code:\nAdvisory | Affected File\n-- | --\n`GHSA-jjgh-mc5q-gch7` | `pkg/action/scan.go`\n`GHSA-mwmf-fxh2-w4x7` | `pkg/archive/deb.go`\n`GHSA-p8j3-rpf5-gwv3` | `pkg/archive/gzip.go`\n`GHSA-qfh4-7f5v-75gq` | `pkg/archive/zlib.go`\n`GHSA-wxxf-r586-5rf5` | `pkg/archive/bzip2.go`\n\n**Fix**: #1354, #1355, #1356, #1361\n\n**Acknowledgements**\n\nThank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting all six of these issues.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Several extraction and scanning code paths registered late defers which could leak resources and exhaust system resources.\n\nThis report is an aggregate of these individual reports for the affected code:\nAdvisory | Affected File\n-- | --\n`GHSA-jjgh-mc5q-gch7` | `pkg/action/scan.go`\n`GHSA-mwmf-fxh2-w4x7` | `pkg/archive/deb.go`\n`GHSA-p8j3-rpf5-gwv3` | `pkg/archive/gzip.go`\n`GHSA-qfh4-7f5v-75gq` | `pkg/archive/zlib.go`\n`GHSA-wxxf-r586-5rf5` | `pkg/archive/bzip2.go`\n\n**Fix**: #1354, #1355, #1356, #1361\n\n**Acknowledgements**\n\nThank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting all six of these issues.","format":"markdown","source":"ghsa"},{"lang":"en","text":"malcontent: Error-path cleanup gap can leak scanners and fds and degrade availability in github.com/chainguard-dev/malcontent","format":"markdown","source":"go"}],"published":"2026-03-02T18:48:03.000Z","modified":"2026-03-23T04:56:28.838Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.0"}],"ecosystem":"Go","package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.0"}],"ecosystem":"Go","package":"github.com/chainguard-dev/malcontent","purl":"pkg:golang/github.com/chainguard-dev/malcontent","source":"go"}],"references":[{"url":"https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-54p8-x2m9-c593","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/chainguard-dev/malcontent/pull/1354","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/chainguard-dev/malcontent/pull/1355","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/chainguard-dev/malcontent/pull/1356","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/chainguard-dev/malcontent/pull/1361","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/chainguard-dev/malcontent","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-54p8-x2m9-c593","url":"https://github.com/advisories/GHSA-54p8-x2m9-c593","licence":"CC-BY-4.0","modified":"2026-03-23T04:56:28.838Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4583","url":"https://pkg.go.dev/vuln/GO-2026-4583","licence":"CC-BY-4.0","modified":"2026-03-23T04:52:46.874Z"}],"updatedAt":"2026-11-25T22:56:24.412Z"}