KeygraphLabs · CVE MCP

CVE-2016-4000 · mitre

CVE-2016-4000

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

Published 2017-07-06, last changed 2026-06-17. Weakness: CWE-502.

CVSS
9.8
critical, from NVD
EPSS
5.46%
percentile 93.0%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: org.python:jython-standalone 2.7.1b3 (Maven); org.python:jython 2.7.1b3 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in jython/jython by ee4200fdd5. Functions changed by the fix: PyBytecode, readResolve. Regression tests: Lib/test/test_java_integration.py, Lib/test/test_new.py. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2017-07-06Published
2022-05-13Package advisory GHSA-6r7r-jj8h-pq6v
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 5.46%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-6r7r-jj8h-pq6vorg.python:jython-standalone (Maven)2.7.1b3
GHSA-6r7r-jj8h-pq6vorg.python:jython (Maven)2.7.1b3

Also known as: GHSA-6r7r-jj8h-pq6v

Related

CVEPublishedCVSSSummary
CVE-2013-20272015-02-134.6same package: org.python:jython-standalone (Maven)
CVE-2026-1147242026-10-228.1same weakness (CWE-502) from the same CNA (mitre)
CVE-2026-377192026-10-059.8same weakness (CWE-502) from the same CNA (mitre)
CVE-2026-364712026-09-215.8same weakness (CWE-502) from the same CNA (mitre)
CVE-2026-511062026-08-269.3same weakness (CWE-502) from the same CNA (mitre)
CVE-2026-513682026-08-259.8same weakness (CWE-502) from the same CNA (mitre)
CVE-2026-519472026-07-019.8same weakness (CWE-502) from the same CNA (mitre)
CVE-2026-392532026-06-238.1same weakness (CWE-502) from the same CNA (mitre)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-4000, or call /api/v1/vulnerabilities/CVE-2016-4000. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org