CVE-2025-3165 Details
Description
A vulnerability classified as critical has been found in thu-pacman chitu 0.1.0. This affects the function torch.load of the file chitu/chitu/backend.py. The manipulation of the argument ckpt_path/quant_ckpt_dir leads to deserialization. An attack has to be approached locally.
A critical deserialization vulnerability has been identified in thu-pacman Chitu version 0.1.0. The issue arises in the model loading process within the file chitu/chitu/backend.py, where the torch.load function is used to load checkpoint files without the weights_only=True parameter. This oversight allows for the deserialization of the entire file content, including potentially malicious Python objects and code. If a .pt file is crafted by a malicious user and loaded using the vulnerable function, it could lead to arbitrary code execution on the system.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 3, 2025CISA-ADP
Assessed Apr 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/thu-pacman/chitu/issues/32 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/?ctiid.303111 | [email protected] | AdvisoryBroken Link |
| https://vuldb.com/?id.303111 | [email protected] | AdvisoryBroken Link |
| https://vuldb.com/?submit.542529 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thu-pacman chitu | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 3, 2025 | New CVE Received | [email protected] |
Volerion