Vulnerabilities / CVE-2024-27319

critical

CVE-2024-27319

CVE-2024-27319 affecting package pytorch for versions less than 2.0.0-4

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
GHSA4.4CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner. Rated lower by GHSA (medium).

Description

Versions of the package onnx before and including 1.15.0 are vulnerable to Out-of-bounds Read as the ONNX_ASSERT and ONNX_ASSERTM functions have an off by one string copy.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0pytorch0:2.2.2-1.azl3
CBL-Mariner 2.0pytorch0:2.0.0-4.cm2
chainguardnemo1.23.0-r12
pip::GitHub Security Advisory piponnx1.16.0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.