Loading...
Skip to main content

CVE-2016-4000 — Deserialization of Untrusted Data in...

CRITICAL

Deserialization of Untrusted Data in Jython

Published May 13, 2022Updated July 2, 2026Source: osv

Summary

Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.

Advisory Timeline

  • First published May 13, 2022 (1613 days ago).
  • Last revised July 2, 2026 — 1512 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.python:jython-standalone to 2.7.1b3 or later
<!-- Update pom.xml dependency version to 2.7.1b3 for org.python:jython-standalone -->
Maven
Update org.python:jython to 2.7.1b3 or later
<!-- Update pom.xml dependency version to 2.7.1b3 for org.python:jython -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.python:jython-standalone
maven
2.5.1, 2.5.2, 2.5.3, 2.5.3-rc1 (+11 more)2.7.1b3
org.python:jython
maven
2.2, 2.2-beta1, 2.2-beta2, 2.2-rc1 (+16 more)2.7.1b3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2016-4000?
Deserialization of Untrusted Data in Jython This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2016-4000?
CVE-2016-4000 affects org.python:jython-standalone and org.python:jython. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-4000 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6r7r-jj8h-pq6v

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies