Bug 2360874 - CVE-2025-3730 python-torch: PyTorch LossCTC.cpp torch.nn.functional.ctc_loss denial of service [fedora-42]
Summary: CVE-2025-3730 python-torch: PyTorch LossCTC.cpp torch.nn.functional.ctc_loss ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-torch
Version: 42
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Tom.Rix
QA Contact:
URL:
Whiteboard: {"flaws": ["6fb1643e-a213-4ba8-90bb-8...
Depends On:
Blocks: CVE-2025-3730
TreeView+ depends on / blocked
 
Reported: 2025-04-18 03:40 UTC by Avinash Hanwate
Modified: 2026-06-08 16:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-06-08 16:54:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2025-04-18 03:40:25 UTC
More information about this security flaw is available in the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=2360479

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Alexander Lent 2025-12-25 01:51:14 UTC
The upstream resolution was in this commit:
https://github.com/pytorch/pytorch/commit/01f226bfb8f2c343f5c614a6bbf685d91160f3af

Not sure it's worth patching since it only impacts GPU code and you have to call the function with empty tensors to get the crash (instead of a Python exception as on CPU). Probably not something you'd do in production code with untrusted user inputs; presumably the untrusted user inputs would be turned into values inside the tensors rather than empty tensors.

See discussion in the bug here, which mentions this impacts anything less than 2.8.0:
https://github.com/pytorch/pytorch/issues/150835

Comment 2 Alexander Lent 2025-12-25 22:31:44 UTC
Proposed fix is in https://src.fedoraproject.org/rpms/python-torch/pull-request/8

Comment 3 Fedora Release Engineering 2026-05-06 12:38:58 UTC
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '42'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 42 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2026-06-08 16:54:57 UTC
Fedora Linux 42 entered end-of-life (EOL) status on 2026-05-27.

Fedora Linux 42 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.