Indonesia Healthcare Corporation IHC ICT Cybersecurity emblem
Theme
Language
Advisory BSSN Critical · CVSS 9.8

Security Advisory: Kerentanan pada NLTK (CVE-2026-128138)

24 November 2026 ·CVE-2026-128138

Summary

Vulnerability CVE-2026-128138 has been identified in the NLTK library. This vulnerability occurs when NLTK executes Java commands via the JVM due to inadequate token validation mechanisms.

Affected Products

  • NLTK version 3.10.3

Technical Details

This vulnerability occurs due to an inadequate token validation mechanism when NLTK version 3.10.3 executes Java commands via the JVM. This condition allows an attacker to inject specific arguments, such as -jar or @argfile, through the nltk.internals.java function as well as the StanfordSegmenter.java_class parameter.

Impact

Exploitation of this vulnerability may allow an attacker to execute arbitrary Java bytecode without requiring unsafe-JAR authorization. Consequently, malicious code can be executed on affected systems.

Mitigation

  • Update the Python NLTK library to version 3.10.4 or a newer version.
  • Restrict and validate user input passed to the nltk.internals.java function and StanfordSegmenter.java_class parameter to prevent malicious argument injection.

References

  • Security Advisory: CVE-2026-128138

Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.

Advisory Lain