---
title: "CVE-2012-4540\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-4540?format=md
keywords: index, follow
---

# CVE-2012-4540

Publication date 7 November 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Off-by-one error in the invoke function in IcedTeaScriptablePluginObject.cc
in IcedTea-Web 1.1.x before 1.1.7, 1.2.x before 1.2.2, 1.3.x before 1.3.1,
and 1.4.x before 1.4.1 allows remote attackers to obtain sensitive
information, cause a denial of service (crash), or possibly execute
arbitrary code via a crafted webpage that triggers a heap-based buffer
overflow, related to an error message and a "triggering event attached to
applet." NOTE: the 1.4.x versions were originally associated with
CVE-2013-4349, but that entry has been MERGED with this one.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| icedtea-web | 12.10 quantal | Fixed 1.3-1ubuntu1.1 |
| 12.04 LTS precise | Fixed 1.2-2ubuntu1.3 |
| 11.10 oneiric | Fixed 1.2-2ubuntu0.11.10.4 |
| 11.04 natty | Ignored end of life |
| 10.04 LTS lucid | Fixed 1.2-2ubuntu0.10.04.3 |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2012-4540?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| icedtea-web | * Upstream:   <http://icedtea.classpath.org/hg/release/icedtea-web-1.2/rev/596a718be03f> * Upstream:   <http://icedtea.classpath.org/hg/release/icedtea-web-1.3/rev/e7970f3da5fe> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4540)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-4540)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-4540)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-4540)

### Related Ubuntu Security Notices (USN)

+ [USN-1625-1](https://usn.ubuntu.com/USN-1625-1)
+ Icedtea-Web vulnerability
+ 7 November 2012

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2012-4540>
