WaratekVRT Sign in

CVE-2016-2510 BeanShell

Affected softwareBeanShell
Severity8.1 High CVSS 3.1 2 scores
Fixed in2.0b6
WeaknessImproper input validation (CWE-20)
Published7 Apr 2016
Updated17 Jun 2026

Description

BeanShell (bsh) before 2.0b6, when included on the classpath by an application that uses Java serialization or XStream, allows remote attackers to execute arbitrary code via crafted serialized data, related to XThis.Handler.

CWE-19

Exploitation status

Forecast only (70% 30-day chance)

No exploit has been reported in the sources we check. EPSS puts this CVE in the top 0.60% of all scored CVEs. That is a model's forecast, not a report of exploitation.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 70% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available patch rule
  • Review human ARMR file
  • Record active
Decided by An ARMR patch file on disk for this CVE
Finding CVE has an ARMR patch rule that provides mitigation

ARMR rule files

1 file

The rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.

CVE-2016-2510.armr patch rule, ARMR 2.6 added 2019-08-20 updated 2026-03-04

How to mitigate CVE-2016-2510

Upgrade BeanShell to 2.0b6 or later. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

8.1 HIGH v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.1 HIGH CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 6.8 none AV:N/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update October 2020 ↗ CPU 2020-Q4 Oracle Fusion Middleware / Jave APIs (BeanShell) (11.1.1.9.0, 12.2.1.3.0)
Oracle Critical Patch Update April 2017 ↗ CPU 2017-Q2 Oracle Retail Applications / Web Services (15.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Jave APIs (BeanShell) 11.1.1.9.0, 12.2.1.3.0 11.1.1.9.0 · 12.2.1.3.0
Oracle Retail Applications Web Services 15.0 15.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache-extras.beanshell:bsh 0 2.0b6 unbounded

Products and versions

4 products, 10 version entries
SourceVendorProductSchemeAffected versions
nvd beanshell beanshell generic 1.0 · 2.0:beta1 · 2.0:beta4 · 2.0:beta5
nvd canonical ubuntu linux generic 12.04 · 14.04 · 15.10
nvd debian debian linux generic 7.0 · 8.0
osv org.apache-extras.beanshell bsh generic < 2.0.6

References

URLTags
https://github.com/frohoff/ysoserial/pull/13 WEB
https://github.com/beanshell/beanshell/commit/1ccc66bb693d4e46a34a904db8eeff07808d2ced WEB
https://github.com/beanshell/beanshell/commit/7c68fde2d6fc65e362f20863d868c112a90a9b49 WEB
https://access.redhat.com/errata/RHSA-2016:1135 WEB
https://access.redhat.com/errata/RHSA-2016:1376 WEB
https://access.redhat.com/errata/RHSA-2019:1545 WEB
https://github.com/beanshell/beanshell/releases/tag/2.0b6 WEB
https://security.gentoo.org/glsa/201607-17 WEB
https://www.oracle.com/security-alerts/cpuoct2020.html WEB
https://www.rsaconference.com/writable/presentations/file_upload/asd-f03-serial-killer-silently-pwning-your-java-endpoints.pdf WEB

Timeline

Published2016-04-07By the CVE Program.
ARMR remediation created2019-08-20Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-17NVD's own last-modified date for this record.