Skip to main content
EPSS 0.3%top 80%

PyTorch torch.jit.jit_module_from_flatbuffer memory corruption (CVE-2025-3121)

0
Medium
Published: 05/28/2025 (05/28/2025, 11:55:44 UTC)
Source: GCVE Database
Product: pytorch

Description

A memory corruption vulnerability exists in PyTorch version 2.6.0 in the function torch.jit.jit_module_from_flatbuffer. Exploitation requires local access. The vulnerability has been publicly disclosed and a patch is available. The severity is assessed as medium.

Affected software

Bitnamimore threats →ghsa
pytorch
pkg:bitnami/pytorch
Affected versions
>=2.6.0 <2.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:23:39 UTC

Technical Analysis

CVE-2025-3121 is a memory corruption vulnerability affecting the torch.jit.jit_module_from_flatbuffer function in PyTorch 2.6.0. The vulnerability requires local access to exploit and has been publicly disclosed. The issue is classified as medium severity and a patch is available to remediate the flaw. No CVSS score is provided.

Potential Impact

Successful exploitation of this vulnerability can lead to memory corruption on the affected system. Local access is required to trigger the vulnerability, limiting the attack surface. There are no known exploits in the wild at this time.

Mitigation Recommendations

A patch is available for this vulnerability. Users should update PyTorch to a fixed version beyond 2.6.0 to remediate the issue. No additional mitigation guidance is provided or required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BIT-pytorch-2025-3121
Osv Schema Version
1.6.2
Aliases
["CVE-2025-3121"]
Ecosystems
["Bitnami"]
Database Specific Severity
Medium

Threat ID: 6aa005ceacd9273b49ab5e12

Added to database: 09/08/2026, 12:55:42 UTC

Last enriched: 09/08/2026, 13:23:39 UTC

Last updated: 09/10/2026, 19:36:50 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses