Live threats

All CVEs / Beanshell

CVE-2016-2510Beanshell

High 8.1 No auth neededHigh EPSS

Priority
71
CVSS 3.1
8.1
EPSS
70.4%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Apr 7, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-19
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Beanshell.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache-extras.beanshell:bsh < 2.0b6 2.0b6 —

Per OSV / GitHub Advisories (GHSA-gxg6-rc6c-v673). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
beanshellbeanshell1.0
beanshellbeanshell2.0
beanshellbeanshell2.0
beanshellbeanshell2.0
debiandebian_linux7.0
debiandebian_linux8.0
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux15.10

Official sources

References

Links published by the sources. Open them with care.