Description (CNA)
PyTorch torchvision through 0.28.0, fixed in commit 4e05dc2, contains an out-of-bounds heap read vulnerability in the GIF decoder's read_from_tensor callback that passes unclamped length to memcpy. Attackers can supply malicious or truncated GIF files to cause denial of service via segmentation fault or disclose adjacent heap memory contents.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| pytorch / vision | affected 0 through 0.28.0; unaffected 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed |
CWE
CWE-125
References
- https://github.com/pytorch/vision/issues/9551
- https://github.com/pytorch/vision/pull/9520
- https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed
- https://www.vulncheck.com/advisories/pytorch-torchvision-gif-decoder-out-of-bounds-heap-read
ADP enrichment
No English description supplied.
No references supplied.