cve.bz

CVE-2025-13425

1.9 lowEPSS 0.1%

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.

CVSS 4.0
1.9CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:P
EPSS
0.1% chance of exploitation in the next 30 days; higher than 1% of CVEs (scores of 2026-10-25)
CWE
CWE-476
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f786-75f3-74xjGogithub.com/google/osv-scalibr<0.3.40.3.4
GO-2025-4149Gogithub.com/google/osv-scalibr<0.3.40.3.4

References

Check your stackJSON