PT-2025-45729

Publicado

2025-10-21

·

Atualizado

2025-10-21

Descrição por

CVSS 4.0
2.0
Baixa
MétricasAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
The safe function index of ptr causes undefined behavior when called with an empty slice.
The issue occurs in the line ptr.add(slice.len() - 1) which underflows when slice.len() is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate undefined behavior.
Explorabilidade
Correção
Impactos
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-H5J3-CRG5-8JQM
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾