CVE-2022-34169
Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets
- State
- Published
- Severity
- 7.5 High
- Published
- Jul 19, 2022
- Updated
- May 27, 2026
- Reserved
- Jun 21, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
Weaknesses
- CWE-681 Incorrect Conversion between Numeric Types
Affected Products
| Product | Versions |
|---|---|
Apache Xalan-JApache Software Foundation |
|
References
- https://lists.apache.org/thread/2qvl7r43wb4t8p9dd9om1bnkssk07sn8
- https://lists.apache.org/thread/12pxy4phsry6c34x2ol4fft6xlho4kyw
- [oss-security] 20220719 CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheetsmailing-list
- https://www.oracle.com/security-alerts/cpujul2022.html
- [oss-security] 20220719 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheetsmailing-list
- [oss-security] 20220719 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheetsmailing-list
- [oss-security] 20220720 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheetsmailing-list
- DSA-5188vendor-advisory
- DSA-5192vendor-advisory
- https://security.netapp.com/advisory/ntap-20220729-0009/
- FEDORA-2022-19b6f21746vendor-advisory
- FEDORA-2022-ae563934f7vendor-advisory
- FEDORA-2022-e573851f56vendor-advisory
- FEDORA-2022-d26586b419vendor-advisory
- FEDORA-2022-80afe2304avendor-advisory
- FEDORA-2022-b76ab52e73vendor-advisory
- http://packetstormsecurity.com/files/168186/Xalan-J-XSLTC-Integer-Truncation.html
- [oss-security] 20221017 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheetsmailing-list
- [debian-lts-announce] 20221018 [SECURITY] [DLA 3155-1] bcel security updatemailing-list
- DSA-5256vendor-advisory
- [oss-security] 20221104 Re: CVE-2022-42920: Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writingmailing-list
- [oss-security] 20221107 Re: CVE-2022-42920: Apache Commons BCEL prior to 6.6.0 allows producing arbitrary bytecode via out-of-bounds writingmailing-list
- https://security.gentoo.org/glsa/202401-25
- https://security.netapp.com/advisory/ntap-20240621-0006/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.