CVE Catalog

CVE-2025-13425

LowCVSS 1.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.11%

1th percentile - higher than 1% of all known CVEs

Summary

In OSV-SCALIBR, 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. This results in a panic (index out of range) and application crash (denial of service).

Risk Assessment

An application using OSV-SCALIBR may crash when processing an empty directory, leading to denial of service. The risk affects tool availability.

Recommendation

Update OSV-SCALIBR to a version containing the indexing fix. Until updated, avoid processing empty directories in the fallback path where possible.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS