← Vulnerability feed

Vulnerability record · CVE-2022-34169 · published 19 July 2022

CVE-2022-34169: Apache Xalan Java XSLT integer truncation enables bytecode execution

Apache · Xalan Java

Apache Xalan Java's XSLTC compiler mishandles integer truncation when processing malicious XSLT stylesheets, corrupting the generated Java class files. Because Xalan is repackaged inside many Java runtimes, the flaw reaches a very wide install base. Successful corruption lets an attacker inject and run arbitrary Java bytecode.

7.5 CVSS 3.1 High EPSS 81% · top 0.4% CWE-681 · CWE-681
7.5CVSS 3.1 base score
81%EPSS exploitation probability, 30 days
NoNot in CISA KEV
16Affected product versions listed by NVD
48References
17 Jun 2026Last modified by NVD

Description

The Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets. This can be used to corrupt Java class files generated by the internal XSLTC compiler and execute arbitrary Java bytecode. Users are recommended to update to version 2.7.3 or later. Note: Java runtimes (such as OpenJDK) include repackaged copies of Xalan.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityNetwork-reachable, no authentication or interaction required, code execution impact, and a very high EPSS score, though no KEV listing or confirmed in-the-wild exploitation is recorded.

What it is

Apache Xalan Java's XSLTC compiler mishandles integer truncation when processing malicious XSLT stylesheets, corrupting the generated Java class files. Because Xalan is repackaged inside many Java runtimes, the flaw reaches a very wide install base. Successful corruption lets an attacker inject and run arbitrary Java bytecode.

Impact

An attacker can execute arbitrary Java bytecode in the context of the application or runtime processing the stylesheet, giving code execution rather than just a crash. The CVSS vector shows high integrity impact with no confidentiality or availability impact recorded.

Attack surface

Reached over the network (AV:N) with no privileges (PR:N) and no user interaction (UI:N), per the CVSS vector. Any component that compiles attacker-supplied XSLT with Xalan, directly or through a bundled JDK/JRE copy, is exposed.

Exploitation

Not listed in CISA KEV and no ransomware use is documented, but EPSS is very high at 0.810 (99.6th percentile), indicating strong predicted exploitation activity. References include public advisories and patch notices, not a confirmed in-the-wild exploit.

What to do

  • Update Apache Xalan-Java to 2.7.3 or later, and apply the corresponding JDK/JRE, Oracle, Debian, Fedora, NetApp and Azul vendor updates that carry the fix.
  • Inventory all Java runtimes and applications that bundle or depend on Xalan, including repackaged copies inside OpenJDK and other JDKs, since patching the standalone library alone may not cover them.
  • Do not process untrusted or user-supplied XSLT stylesheets; restrict stylesheet sources to trusted, reviewed content.
  • Where XSLT processing is required, run it in a sandboxed or least-privilege JVM with restricted class loading and filesystem access.

Detection

  • Monitor for XSLT stylesheet uploads or submissions to Java services and correlate with subsequent class loading or unexpected bytecode execution.
  • Alert on Xalan/XSLTC compilation activity in application logs where stylesheets are not expected from external sources.
  • Watch for anomalous child processes or outbound connections spawned by JVM processes that handle XSLT.
  • Track unpatched Xalan versions across hosts and containers using software inventory or SBOM data.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

16 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/168186/Xalan-J-XSLTC-Integer-Truncation.html Third Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2022/07/19/5 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/19/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/20/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/20/3 Mailing ListPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/10/18/2 Mailing ListPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/04/8 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/07/2 Mailing ListThird Party Advisory
https://lists.apache.org/thread/12pxy4phsry6c34x2ol4fft6xlho4kyw Issue TrackingMailing ListVendor Advisory
https://lists.apache.org/thread/2qvl7r43wb4t8p9dd9om1bnkssk07sn8 Issue TrackingMailing ListVendor Advisory
https://lists.debian.org/debian-lts-announce/2022/10/msg00024.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUID
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XR
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YULPNO3PAWMEQQZV2C54I3H
https://security.gentoo.org/glsa/202401-25
https://security.netapp.com/advisory/ntap-20220729-0009/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20240621-0006/
https://www.debian.org/security/2022/dsa-5188 Third Party Advisory
https://www.debian.org/security/2022/dsa-5192 Third Party Advisory
https://www.debian.org/security/2022/dsa-5256 Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html PatchThird Party Advisory
http://packetstormsecurity.com/files/168186/Xalan-J-XSLTC-Integer-Truncation.html Third Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2022/07/19/5 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/19/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/20/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/20/3 Mailing ListPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/10/18/2 Mailing ListPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/04/8 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/07/2 Mailing ListThird Party Advisory
https://lists.apache.org/thread/12pxy4phsry6c34x2ol4fft6xlho4kyw Issue TrackingMailing ListVendor Advisory
https://lists.apache.org/thread/2qvl7r43wb4t8p9dd9om1bnkssk07sn8 Issue TrackingMailing ListVendor Advisory
https://lists.debian.org/debian-lts-announce/2022/10/msg00024.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H4YNJSJ64NPCNKFPNBYITNZ
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I5OZNAZJ4YHLOKRRRZSWRT5
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3EVGR7FD3ZLV5SBTJXUID
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KO3DXNKZ4EU3UZBT6AAR4XR
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L3XPOTPPBZIPFBZHQE5E7OW

Track CVE-2022-34169 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2022-34169), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.