SB2025120921 - Two memory corruption vulnerabilities in PyTorch



SB2025120921 - Two memory corruption vulnerabilities in PyTorch

Published: December 9, 2025

Security Bulletin ID SB2025120921
Severity
Medium
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 secuirty vulnerabilities.


1) Buffer overflow (CVE-ID: CVE-2025-2999)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing untrusted input within the torch.nn.utils.rnn.unpack_sequence() function. A remote attacker can trick the victim into passing specially crafted input to the application, trigger memory corruption and perform a denial of service (DoS) attack. 


2) Buffer overflow (CVE-ID: CVE-2025-2998)

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing untrusted input within the torch.nn.utils.rnn.pad_packed_sequence() function. A remote attacker can trick the victim into passing specially crafted input to the application, trigger memory corruption and perform a denial of service (DoS) attack. 


Remediation

Install update from vendor's website.