CVE-2025-3165 thu-pacman chitu backend.py torch.load deserialization
A local attacker can execute arbitrary code via unsafe deserialization in the chitu library's backend module.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-3165?
CVE-2025-3165 is a medium-severity unsafe deserialization vulnerability in thu-pacman chitu, published on 3 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-3165?
How do I fix CVE-2025-3165?
No fix has been published for CVE-2025-3165 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-3165 being exploited?
There is no known exploitation of CVE-2025-3165 in the wild and no public exploit code.
Sources
Also known as GHSA-j2pg-qhxw-x7gx.