CVE-2016-4000 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in org.python:jython-standalone. A fix is available for org.python:jython-standalone — see the affected versions and patch details below.
Deserialization of Untrusted Data in Jython
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.python:jython-standalone☕org.python:jythonReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.python:jython-standalone | all versions | 2.7.1b3org.python:jython-standalone:2.7.1b3 |
| ☕Maven | org.python:jython | all versions | 2.7.1b3org.python:jython:2.7.1b3 |
Affected Products
debian linuxdebianjythonjython_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.python:jython-standalone, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.python:jython-standalone to 2.7.1b3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-4000 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2016-4000 in your dependencies?
Find it across Maven, including transitive dependencies.