#3733·grype

False positive: CVE-2026-2913 matches fixed libvips 8.18.6 through NVD CPE range

Author: lioriumCreated Sep 24, 2026Updated Sep 26, 2026

Vulnerability ID: CVE-2026-2913

Package URL or steps to reproduce:

Grype reports libvips 8.18.6 as affected through an NVD CPE match, although the upstream release contains the fix referenced by the advisory. This is a suspected affected-version data mismatch for an already public CVE, not a report of a new vulnerability in Grype.

Save this standalone, public-metadata-only CycloneDX document as reproducer.cdx.json:

json
{
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "version": 1,
  "components": [{
    "type": "library",
    "name": "libvips",
    "version": "8.18.6",
    "purl": "pkg:generic/[email protected]",
    "cpe": "cpe:2.3:a:libvips:libvips:8.18.6:*:*:*:*:*:*:*"
  }]
}

Scan it with the official Grype image:

bash
docker run --rm \
  -v "$PWD/reproducer.cdx.json:/reproducer.cdx.json:ro" \
  ghcr.io/anchore/grype@sha256:8c2c9234a345577a6d321a4753aa3ee1276d8975c8452d2344a56b57733ecad3 \
  sbom:/reproducer.cdx.json -o json

The CPE is explicit because this concerns a generic/source-built native library, not a distribution package. No application artifacts, private repository, credentials, or user data are needed.

Actual behavior:

The standalone input above was tested on 2026-09-24 and produced exactly one finding (this CVE), with zero ignored matches.

  • Package: libvips / 8.18.6, PURL pkg:generic/[email protected].
  • Vulnerability: CVE-2026-2913, namespace nvd:cpe, severity High.
  • Matcher: stock-matcher, match type cpe-match.
  • Matched constraint: <= 8.19.0 (unknown).
  • No fixed version is listed.

Expected behavior / requested correction:

Please review the affected/fixed version data against the upstream fix and released tags so fixed releases such as 8.18.6 are not reported solely because of the broad version range. I am not requesting a severity downgrade, blanket CVE suppression, or an application-specific ignore rule. If the correction belongs with another data provider/CNA, guidance or transfer to that queue would be appreciated. I have not independently established the earliest fixed release across every branch.

Anything else we need to know?:

  1. The advisory references upstream fix a56feecbe9ed66521d9647ec9fbcd2546eccd7ee.
  2. Release v8.18.6 resolves to 426af3f44246fce9cfa8dd51a353aa4dfd48c553. GitHub's compare reports 129 commits ahead and zero behind the fix.
  3. The original public report is libvips/libvips#4857. An existing comment also raises the fixed-release versus CVE-range discrepancy.
  4. The NVD record, checked on 2026-09-24, still has versionEndIncluding: 8.19.0 for cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*; its API reports lastModified: 2026-06-17T10:32:01.523.
  5. As supplementary evidence, a locally built 8.18.6 runtime passed a bounded custom-source check: an ordinary small source mapped successfully, and a virtual source larger than G_MAXUINT was rejected before its read callback ran. This narrow check is not a claim that all libvips code is vulnerability-free; the upstream fix ancestry is the primary evidence.

Environment:

  • Grype: 0.119.0, official container digest shown above, Linux amd64.
  • Database schema: v6.1.9; database build: 2026-09-24T06:31:52Z.
  • Input: the standalone CycloneDX 1.6 SBOM above; no distribution override.
  • No custom ignore rules, VEX, only-fixed, or severity filtering.

grype version -o json:

json
{
  "application": "grype",
  "buildDate": "2026-09-17T16:17:07Z",
  "compiler": "gc",
  "gitCommit": "b6f5194537747ee7f705f4113069ac9eb269919f",
  "gitDescription": "v0.119.0",
  "goVersion": "go1.26.3",
  "platform": "linux/amd64",
  "supportedDbSchema": 6,
  "syftVersion": "v1.52.0",
  "version": "0.119.0"
}