CVE-2025-13425

Published Nov 20, 2025 Modified Apr 15, 2026 CWE-476

Description

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.

Is your site exposed to CVE-2025-13425?

Run a free security scan — no signup, results in seconds.

Weakness Type (CWE)

CWE-476 CWE-476

References

Frequently Asked Questions

What is 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.
How do I check if I'm vulnerable to CVE-2025-13425? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-13425 — free, no signup required.