CVE-2025-13425
JSON

1.9low

Denial of Service in OSV-SCALIBR

Severity
1.9low CVSS:4.0 by Google
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Google
Also known as
GHSA-f786-75f3-74xjGO-2025-4149

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.

Affected

Product or packageVersionsReported by
Google OSV-SCALIBR< 0.3.4CVE List
github.com/google/osv-scalibr (Go)before 0.3.4GitHub Advisory Database, Go Vulnerability Database

All scores

Google1.9low CVSS:4.0CVSS: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
GitHublow CVSS:4.0CVSS: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

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

Go Vulnerability Database

OSV-SCALIBR has NULL Pointer Dereference in github.com/google/osv-scalibr

NVD (es)

Un error en la ruta de respaldo de recorrido del sistema de archivos provoca que fs/diriterate/diriterate.go:Next() sobreindexe un slice vacío cuando ReadDir devuelve nil para un directorio vacío, lo que resulta en un panic (índice fuera de rango) y un fallo de la aplicación (denegación de servicio) en OSV-SCALIBR.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13425 changed 2025-11-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-f786-75f3-74xj changed 2025-11-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4149 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-13425 changed 2026-10-18Public domain