Deserialization of Untrusted Data in Kotlin - CVE-2026-135282

 

Deserialization of Untrusted Data in Kotlin - CVE-2026-135282

Published: December 3, 2026


Vulnerability identifier: #VU172967
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-135282
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to unsafe deserialization in Kotlin's KAPT component when it loads classpath snapshots. A remote attacker can supply a crafted classpath snapshot that executes code when deserialized.


Affected software

Kotlin

How to mitigate CVE-2026-135282

Install security update from vendor's website.

Kotlin - update to 2.5.0

External References

Related Security Bulletins