CVE-2022-34169
Reported by apache · Published July 19, 2022
xalan is fixed in 2.7.3 and 2.7.2 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| xalan:xalan | Maven Central | 2.7.3, 2.7.2 |
| java-1.8.0-openjdk-javadoc-debug | Amazon Linux | 1:1.8.0.342.b07-1.amzn2.0.1 |
| java-1.7.0-openjdk-demo | Amazon Linux | 1:1.7.0.321-2.6.28.2.amzn2.0.1 |
| java-1.7.0-openjdk-src | Amazon Linux | 1:1.7.0.321-2.6.28.2.amzn2.0.1 |
| java-1.8.0-openjdk-javadoc-zip-debug | Amazon Linux | 1:1.8.0.342.b07-1.amzn2.0.1 |
| java-1.8.0-openjdk-headless-debug | Amazon Linux | 1:1.8.0.342.b07-1.amzn2.0.1 |
| java-1.7.0-openjdk-headless | Amazon Linux | 1:1.7.0.321-2.6.28.2.amzn2.0.1 |
| java-1.8.0-openjdk-demo | Amazon Linux | 1:1.8.0.342.b07-1.amzn2.0.1 |
| openjdk17 | Alpine | 17.0.4_p8-r0 |
| java-11-amazon-corretto-headless | Amazon Linux | 1:11.0.16+8-1.amzn2 |
| openjdk11 | Alpine | 11.0.17_p8-r0, 11.0.16_p8-r0 |
| java-1.7.0-openjdk-accessibility | Amazon Linux | 1:1.7.0.321-2.6.28.2.amzn2.0.1 |
31 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Xalan-J | Xalan-J |
| amazon:2 | java-1.8.0-openjdk-javadoc-debug | 0 |
| amazon:2 | java-1.7.0-openjdk-demo | 0 |
| amazon:2 | java-1.7.0-openjdk-src | 0 |
| amazon:2 | java-1.8.0-openjdk-javadoc-zip-debug | 0 |
| amazon:2 | java-1.8.0-openjdk-headless-debug | 0 |
| amazon:2 | java-1.7.0-openjdk-headless | 0 |
| amazon:2 | java-1.8.0-openjdk-demo | 0 |
| alpine | openjdk17 | 0 |
| amazon:2 | java-11-amazon-corretto-headless | 0 |
| alpine | openjdk11 | 0, 0 |
| amazon:2 | java-1.7.0-openjdk-accessibility | 0 |
| amazon:2 | java-17-amazon-corretto-javadoc | 0 |
| amazon:2 | java-1.8.0-openjdk-javadoc-zip | 0 |
| amazon:2 | java-1.8.0-openjdk-debug | 0 |
| amazon:2 | java-11-amazon-corretto-javadoc | 0 |
| amazon:2 | java-17-amazon-corretto-headless | 0 |
| amazon:2 | java-1.7.0-openjdk-devel | 0 |
| alpine | openjdk13 | 0 |
| amazon:2 | java-1.7.0-openjdk-javadoc | 0 |
…and 19 more
Timeline
- Jul 19, 2022 CVE Published
- Jul 20, 2022 EPSS Score (30 in total, the first dated here)
- Apr 3, 2025 PoC Published
- Mar 30, 2026 Security Advisory (43 in total, the first dated here)
- Jun 22, 2026 Coalition ESS Score
- Nov 1, 2026 Distribution Patch (37 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-34169
vulnetix vdb fixes CVE-2022-34169
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-34169/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20220719 CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets mailing-list
- [oss-security] 20220719 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets mailing-list
- [oss-security] 20220719 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets mailing-list
- [oss-security] 20220720 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets mailing-list
- DSA-5188 vendor-advisory
- DSA-5192 vendor-advisory
- FEDORA-2022-19b6f21746 vendor-advisory
- FEDORA-2022-ae563934f7 vendor-advisory
- FEDORA-2022-e573851f56 vendor-advisory
- FEDORA-2022-d26586b419 vendor-advisory
- FEDORA-2022-80afe2304a vendor-advisory
- FEDORA-2022-b76ab52e73 vendor-advisory
- [oss-security] 20221017 Re: CVE-2022-34169: Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets mailing-list
- [debian-lts-announce] 20221018 [SECURITY] [DLA 3155-1] bcel security update mailing-list
- DSA-5256 vendor-advisory
…and 6 more