CVE-2025-13425 in Panic products
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.
Affects 0 products from 1 vendor. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Panic | — | — |
| Osv-Scalibr | < 0.3.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-13425 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-270549-I |
| Published | 2025-11-20 |
| Last modified | 2026-10-18 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
A bug in the filesystem traversal fallback path in OSV-SCALIBR causes a panic and application crash when ReadDir returns nil for an empty directory due to overindexing an empty slice.
The vulnerability arises from improper handling of an empty directory scenario in the filesystem traversal logic, leading to an out-of-bounds access error.
Questions
What is CVE-2025-13425?
A bug in the filesystem traversal fallback path in OSV-SCALIBR causes a panic and application crash when ReadDir returns nil for an empty directory due to overindexing an empty slice.
Is CVE-2025-13425 actively exploited?
No confirmed active exploitation of CVE-2025-13425 as of 2026-10-24.
How do I remediate CVE-2025-13425?
Priority: MEDIUM.
What systems are affected by CVE-2025-13425?
CVE-2025-13425 affects Panic.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Panic","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-18.