CVE-2013-2035: Local Code Execution via HawtJNI Temporary-Library Race Condition
- Vendor
- Red Hat
HawtJNI before version 1.8 contains a race condition in its Library class when no custom library path is configured. Bundled native libraries are extracted to predictably named temporary files, allowing a local attacker to replace a library between its creation and loading. Loading the attacker-controlled replacement permits arbitrary code execution in the context of the affected Java application.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution with the affected application's operating-system privileges, potentially compromising application-accessible data and service integrity or availability. Local privilege escalation is possible if the application runs with greater privileges than the attacker.
Mitigation
If you can’t patch tonight, do this now.
Configure an explicit custom library path pointing to trusted native libraries in a directory that untrusted local users cannot modify, avoiding the vulnerable default temporary-file extraction behavior. Run the application with minimal operating-system privileges to limit the consequences of successful exploitation.
Remediation
Patch, then assume compromise.
Upgrade HawtJNI to version 1.8 or later, or install a vendor update that fixes the bundled dependency. Identified product fixes include JBoss Fuse and JBoss A-MQ 6.1.0; JBoss BRMS and JBoss BPM Suite 6.0.3; JBoss Fuse Service Works 6.0.0 Roll Up Patch 3; JBoss Operations Network 3.3.0; and Chainguard thingsboard-tb-node and related packages 4.4-r5 or later. Follow the applicable vendor's backup, shutdown, installation, and restart procedures.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2013-2035 exploited in the wild?
- As of Oct 21, 2026, Mallory has no reports of CVE-2013-2035 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2013-2035?
- Yes. As of Oct 21, 2026, Mallory has reports of a public exploit for CVE-2013-2035.
- Is there a patch for CVE-2013-2035?
- Upgrade HawtJNI to version 1.8 or later, or install a vendor update that fixes the bundled dependency. Identified product fixes include JBoss Fuse and JBoss A-MQ 6.1.0; JBoss BRMS and JBoss BPM Suite 6.0.3; JBoss Fuse Service Works 6.0.0 Roll Up Patch 3; JBoss Operations Network 3.3.0; and Chainguard thingsboard-tb-node and related packages 4.4-r5 or later.
- What products are affected by CVE-2013-2035?
- Red Hat Hawtjni.
- How severe is CVE-2013-2035?
- CVE-2013-2035 has a CVSS v2 score of 4.4 (Medium) and an EPSS score of 0.59% (49th percentile) as of Oct 21, 2026.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.