CVE-2026-28407: malcontent Nested Archive Extraction Failure Can Vulnerability
MODERATECVE-2026-28407 is a MODERATE nested archive extraction failure can vulnerability (CWE-703: Improper Check or Handling of Exceptional Conditions) affecting malcontent libraries in the Go ecosystem. The issue involves nested archive extraction failure can drop content from scan inputs. Remediation is available by upgrading affected packages to version 1.21.0.
CVE-2026-28407 at a Glance
How to Fix CVE-2026-28407
To remediate this vulnerability, upgrade all affected malcontent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/chainguard-dev/malcontent to 1.21.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/chainguard-dev/malcontent
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-28407, inspect your project dependencies for malcontent:
inspect dependencies for github.com/chainguard-dev/malcontent
Analyze the terminal output to locate any version of malcontent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.21.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-703: Improper Check or Handling of Exceptional Conditions, where the product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product. In malcontent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-28407 Affected malcontent Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/chainguard-dev/malcontent
|
Go |
< 1.21.0
|
1.21.0
|
References
Frequently Asked Questions
What is CVE-2026-28407?
Which malcontent versions are affected?
What version fixes CVE-2026-28407?
Is github.com/chainguard-dev/malcontent affected?
What CWE is associated with CVE-2026-28407?
How can I check Go dependencies for CVE-2026-28407?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-945p-3jhm-6rcp",
"modified" : "2026-02-28T02:50:09Z",
"published" : "2026-02-28T02:50:09Z",
"aliases" : [ "CVE-2026-28407" ],
"summary" : "malcontent: Nested archive extraction failure can drop content from scan inputs",
"details" : "Previously, malcontent would remove nested archives which failed to extract which could potentially leave malicious content. A better approach is to preserve these archives so that malcontent can attempt a best-effort scan of the archive bytes.\n\n**Fix**: https://github.com/chainguard-dev/malcontent/pull/1383\n\n**Acknowledgements**\n\nmalcontent thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/chainguard-dev/malcontent"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.21.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/chainguard-dev/malcontent/security/advisories/GHSA-945p-3jhm-6rcp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-28407"
}, {
"type" : "WEB",
"url" : "https://github.com/chainguard-dev/malcontent/pull/1383"
}, {
"type" : "WEB",
"url" : "https://github.com/chainguard-dev/malcontent/commit/356c56659ccfcad0b249a97de8cf71f151ed3ee9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/chainguard-dev/malcontent"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-703" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-28T02:50:09Z",
"nvd_published_at" : "2026-02-27T22:16:23Z"
}
}