Advisory Details

December 1st, 2025

Tencent NeuralNLP-NeuralClassifier _load_checkpoint Deserialization of Untrusted Data Remote Code Execution Vulnerability

ZDI-25-1033
ZDI-CAN-27184

CVE ID CVE-2025-13708
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Tencent
AFFECTED PRODUCTS NeuralNLP-NeuralClassifier
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Tencent NeuralNLP-NeuralClassifier. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the _load_checkpoint function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS Tencent has issued an update to correct this vulnerability. More details can be found at:
https://github.com/Tencent/NeuralNLP-NeuralClassifier/commit/8dea5ffdb45cf0a33b3d116de38507afaee87594
DISCLOSURE TIMELINE
  • 2025-05-22 - Vulnerability reported to vendor
  • 2025-12-01 - Coordinated public release of advisory
  • 2025-12-01 - Advisory Updated
CREDIT Peter Girnus (@gothburz) of Trend Zero Day Initiative
BACK TO ADVISORIES