ADVISORIES

Vulnerability

CVE-2025-13425

A bug in the filesystem traversal fallback path causes fs/diriterate/diriterate.go:Next() to overindex an empty slice when ReadDir returns nil for an empty directory, resulting in a panic (index out of range) and an application crash (denial of service) in OSV-SCALIBR.

6 advisories report this vulnerability, across 4 ecosystems.

Advisories in Go

  • GHSA-f786-75f3-74xj

    OSV-SCALIBR has NULL Pointer Dereference

    Low CVE-2025-13425 Go Updated 27 November 2025
  • GO-2025-4149

    OSV-SCALIBR has NULL Pointer Dereference in github.com/google/osv-scalibr

    CVE-2025-13425 Go Updated 3 March 2026

References