CVE-2025-13425 Denial of Service in OSV-SCALIBR
A bug in OSV-SCALIBR causes a panic when scanning empty directories, leading to application crashes and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-13425?
CVE-2025-13425 is a low-severity vulnerability in Google OSV-SCALIBR, published on 20 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2025-13425?
3 open source packages ship an affected version, including github.com/google/osv-scalibr.
| Package | Affected | Fixed in |
|---|---|---|
github.com/google/osv-scalibr Go | All versions | 0.3.4 |
github.com/google/osv-scalibr Go | All versions | 0.3.4 |
github.com/google/osv-scalibr Go | All versions | 0.3.4 |
How do I fix CVE-2025-13425?
Upgrade github.com/google/osv-scalibr to 0.3.4 or later.
Is CVE-2025-13425 being exploited?
There is no known exploitation of CVE-2025-13425 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-f786-75f3-74xj, GO-2025-4149.