【中文导读】buffer overflow occurs in pytorch 存在拒绝服务、内存破坏风险(高危风险)。具体受影响版本、触发条件和修复方案以 NVD/厂商公告为准。 【原始描述】A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a Denial of Service (DoS).