Grype does not list all vulnerabilities for a package and version
Author: jkuglerCreated Sep 25, 2026Updated Sep 26, 2026
Labelsbugfalse-positive
Vulnerability ID: CVE-2023-45853, CVE-2026-22184, CVE-2026-27171
Package URL or steps to reproduce: Running grype on an SBOM with this stanza:
{
"bom-ref": "zlib-1.2.13",
"type": "library",
"name": "zlib",
"version": "1.2.13",
"cpe": "cpe:2.3:a:zlib:zlib:1.2.13:*:*:*:*:*:*:*",
"purl": "pkg:generic/[email protected]",
"licenses": [
{ "license": { "id": "Zlib" } }
]
},Only outputs this line:
zlib 1.2.13 1.3.2 UnknownPackage CVE-2026-27171 Medium 0.2% (7th) < 0.1There are, at least two other CVEs that apply to this version (see "Vulnerability ID" section above). Am I doing something wrong, or is Grype under-reporting vulnerabilities?
Environment:
- Output of
grype version:
$ grype version Application: grype Version: 0.119.0 BuildDate: 2026-09-17T15:25:25Z GitCommit: Homebrew GitDescription: [not provided] Platform: darwin/arm64 GoVersion: go1.27.1 Compiler: gc Syft Version: v1.52.0 Supported DB Schema: 6
- OS (e.g:
cat /etc/os-releaseor similar): Tested on both macOS and Ubuntu 24.04.4 LTS
Source: anchore/grype