Home

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.

PUBLISHED Reserved 2025-11-19 | Published 2025-11-20 | Updated 2025-11-20 | Assigner Google




LOW: 1.9CVSS: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

Problem types

CWE-476 NULL Pointer Dereference

Product status

Default status
unaffected

< 0.3.4
affected

Credits

Yuvraj Saxena finder

References

github.com/...ommit/e67c4e198ca099cb7c16957a80f6c5331d90a672

cve.org (CVE-2025-13425)

nvd.nist.gov (CVE-2025-13425)

Download JSON