# CVE-2013-5907: Memory corruption in n/a

> Remote attackers can execute arbitrary code or cause denial of service via crafted font files in Java SE due to input validation flaws.

- **Severity:** Critical 10.0 (`AV:N/AC:L/Au:N/C:C/I:C/A:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 15 Jan 2014
- **Updated:** 6 Aug 2024
- **Also known as:** GHSA-f4vm-g8q2-m52q

## What is CVE-2013-5907?

CVE-2013-5907 is a critical memory corruption vulnerability in Oracle Jdk, published on 15 Jan 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Unspecified vulnerability in Oracle Java SE 5.0u55, 6u65, and 7u45; JRockit R27.7.7 and R28.2.9; Java SE Embedded 7u45; and OpenJDK 7 allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to 2D.  NOTE: the previous information is from the January 2014 CPU. Oracle has not commented on third-party claims that the issue is due to incorrect input validation in LookupProcessor.cpp in the ICU Layout Engine, which allows attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted font file.

## Which versions are affected by CVE-2013-5907?

It affects 3 products.


Products: Oracle Jdk, Oracle Jre, Oracle Jrockit.

## How do I fix CVE-2013-5907?

Apply the vendor's patch.

## Is CVE-2013-5907 being exploited?

There is no known exploitation of CVE-2013-5907 in the wild and no public exploit code.

## Other vulnerabilities in Oracle Jdk

- [CVE-2012-4681](https://insights.sbomify.com/CVE-2012-4681/): Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution (critical 9.8, exploited in the wild)
- [CVE-2012-1723](https://insights.sbomify.com/CVE-2012-1723/): Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution (critical 9.8, exploited in the wild)
- [CVE-2015-4805](https://insights.sbomify.com/CVE-2015-4805/): Deserialization in n/a (critical 10.0)
- [CVE-2015-4835](https://insights.sbomify.com/CVE-2015-4835/): Other in n/a (critical 10.0)
- [CVE-2015-4843](https://insights.sbomify.com/CVE-2015-4843/): Other in n/a (critical 10.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2013-5907 and fix it if it is affected.

What it is: CVE-2013-5907 is a critical memory corruption vulnerability in Oracle Jdk, published on 15 Jan 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2013-5907 in the wild and no public exploit code.

Affected product: Oracle Jdk. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2013-5907/ (Markdown: https://insights.sbomify.com/CVE-2013-5907/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2013-5907
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2013-5907
- OSV: https://osv.dev/vulnerability/CVE-2013-5907

---
From sbomify Insights: https://insights.sbomify.com/CVE-2013-5907/
Summaries are generated and may contain mistakes; the official description above is the record.
