CVE-2022-40160
MEDIUM 6.5CVSS 3.1JXPath Out-of-bounds Write vulnerability
** DISPUTED ** This record was originally reported by the oss-fuzz project who failed to consider the security context in which JXPath is intended to be used and failed to contact the JXPath maintainers prior to requesting the CVE allocation. The CVE was then allocated by Google in breach of the CNA rules. After review by the JXPath maintainers, the original report was found to be invalid.
- Published
- 6 Oct 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-121CWE-787
- Also known as
- GHSA-mqxp-cjr9-c5jm
- Sources
- NVDJSONOSV GHSA-mqxp-cjr9-c5jmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_jxpathcpe:2.3:a:apache:commons_jxpath:*:*:*:*:*:*:*:* |
<= 1.3 | |
| OSV | Maven | commons-jxpath:commons-jxpath | <= 1.3 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47053 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-40160 · ADVISORY
- https://github.com/apache/commons-jxpath · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Oct 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Oct 2022)