Skip to content
Vulnerability Intelligence

CVE-2016-2510

High

Improper Input Validation in BeanShell

Published May 13, 2022 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2016-2510, DLA-443-1, DSA-3504-1, GHSA-gxg6-rc6c-v673, SUSE-SU-2016:0699-1, SUSE-SU-2016:0700-1, UBUNTU-CVE-2016-2510, USN-2923-1

Key Facts

Patch immediately
  • CVE-2016-2510 is a high-severity vulnerability (CVSS 8.1 v3.1) affecting Beanshell, Ubuntu Linux (Canonical), Debian Linux and 11 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 70% probability of exploitation in the next 30 days.
  • Fixed versions are available, including bsh 2.0b4-12+deb6u1, bsh 2.0b4-12+deb7u1, bsh 2.0b4-15+deb8u1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

8.1

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

EPSS (30-day exploit likelihood)

70%

Higher than 99.3% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2016-2510 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

56 affected entries in total
ProductAffected versionsFixed in
BeanshellBeanshell1.0, 2.0-beta1, 2.0-beta4, 2.0-beta5n/a
Ubuntu LinuxCanonical12.04, 14.04, 15.10n/a
Debian LinuxDebian7.0, 8.0n/a
bshdebianSee advisory2.0b4-16
org.apache-extras.beanshell:bshmavenSee advisory2.0b6
9 more affected products in the full CVE brief

Patched Releases

bsh

2.0b4-12+deb6u1, 2.0b4-12+deb7u1, 2.0b4-15+deb8u1, 2.0b4-15ubuntu0.14.04.1, 2.0b4-16

bsh2

2.0-318.1, 2.0.0.b5-3.2, 2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1

bsh2-bsf

2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1

bsh2-classgen

2.0-318.1, 2.0.0.b5-3.2, 2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1

bsh2-demo

2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1

bsh2-javadoc

2.0-318.1, 2.0.0.b5-3.2, 2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1

bsh2-manual

2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1

bsh2-src

2.0.0.b5-30.1

org.apache-extras.beanshell:bsh

2.0b6

Timeline

  1. Publicly disclosed

    May 13, 2022

  2. Last updated

    Aug 4, 2026

Weakness Type

  • CWE-19
  • CWE-20 Improper Input Validation
  • CWE-502 Deserialization of Untrusted Data

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2016-2510 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo