Heap-based Buffer Overflow Affecting py3.10-torchvision-cuda-12.3 package, versions <0.18.1-r7


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-PY310TORCHVISIONCUDA123-10586847
  • published2 Jul 2025
  • disclosed1 Jul 2025

Introduced: 1 Jul 2025

NewCVE-2025-48379  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Chainguard py3.10-torchvision-cuda-12.3 to version 0.18.1-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3.10-torchvision-cuda-12.3 package and not the py3.10-torchvision-cuda-12.3 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (>64k encoded with default settings) image in the DDS format due to writing into a buffer without checking for available space. This only affects users who save untrusted data as a compressed DDS image. This issue has been patched in version 11.3.0.

CVSS Base Scores

version 3.1