CVE-2016-4000: Deserialization of Untrusted Data in Jython

Published Jun 16, 2017
·
Updated

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

Other sources

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

— MITRE

Affected Software

5 affected componentsFixes available
Jython Project Jython=2.7.0
Debian Debian Linux=8.0
maven/org.python:jython-standalone<2.7.1b3
2.7.1b3
maven/org.python:jython<2.7.1b3
2.7.1b3
debian/jython
2.5.2-1+deb7u12.5.3-3+deb8u12.5.3-16+deb9u12.5.3-17

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.python:jython-standalone to a version that resolves this vulnerability.

    Fixed in 2.7.1b3
  2. Upgrade

    Upgrade maven/org.python:jython to a version that resolves this vulnerability.

    Fixed in 2.7.1b3
  3. Upgrade

    Upgrade debian/jython to a version that resolves this vulnerability.

    Fixed in 2.5.2-1+deb7u1Fixed in 2.5.3-3+deb8u1Fixed in 2.5.3-16+deb9u1Fixed in 2.5.3-17

Event History

Jun 16, 2017
Data Sourced
07:12 AM
SeverityAffected Software
Jul 6, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
04:29 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·04:29 PM
DescriptionSeverity
Data Sourced
via NVD·04:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 16, 2017
Data Sourced
via Debian·06:33 PM
SeverityAffected Software
May 13, 2022
Advisory Published
via OSV·01:25 AM
Data Sourced
via OSV·01:25 AM
WeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-4000?

CVE-2016-4000 is classified as a critical vulnerability due to its ability to allow arbitrary code execution.

2

How do I fix CVE-2016-4000?

To resolve CVE-2016-4000, update Jython to version 2.7.1rc1 or later.

3

What versions of Jython are affected by CVE-2016-4000?

CVE-2016-4000 affects Jython versions prior to 2.7.1rc1, including version 2.7.0.

4

Can CVE-2016-4000 be exploited remotely?

Yes, attackers can exploit CVE-2016-4000 remotely by leveraging a crafted serialized PyFunction object.

5

What type of vulnerability is CVE-2016-4000?

CVE-2016-4000 is a code execution vulnerability affecting the Jython interpreter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203