NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-13425: OSV-SCALIBR has NULL Pointer Dereference

lowCVSS 4.0 1.9GHSA-f786-75f3-74xj

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.

Published Nov 20, 2025 · Updated Nov 27, 2025

Affected packages

github.com/google/osv-scalibr

Ecosystem
Go
Affected
< 0.3.4
Fixed in
0.3.4
Check
go list -m github.com/google/osv-scalibr

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries