# CVE-2022-40160: JXPath Out-of-bounds Write vulnerability

Source: https://junglewise.ai/threats/cve-2022-40160-jxpath-out-of-bounds-write-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-06  
License: CC BY 4.0 with a link back

CVE-2022-40160 · Severity: low · CVSS 3.1 · Published 2022-10-06

JXPath Out-of-bounds Write vulnerability

Technologies: [commons-jxpath:commons-jxpath (Maven)](https://junglewise.ai/threats/technologies/commons-jxpath-commons-jxpath). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2022-40160 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-40160 being exploited in the wild.

**How severe is CVE-2022-40160?** Low severity, with a CVSS score of 3.1, published 6 October 2022.

**Which products and versions are affected?** commons-jxpath:commons-jxpath (Maven) ECOSYSTEM:introduced=0,last_affected=1.3.

**Is there a fix for CVE-2022-40160?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2022-40160?** Check whether you run commons-jxpath:commons-jxpath (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- commons-jxpath:commons-jxpath (Maven) ECOSYSTEM:introduced=0,last_affected=1.3

## Identifiers

- CVE-2022-40160
- GHSA-mqxp-cjr9-c5jm

## Related threats

- [Withdrawn: CVE Rejected: JXPath vulnerable to remote code execution when interpreting untrusted XPath expressions](https://junglewise.ai/threats/cve-2022-41852-withdrawn-cve-rejected-jxpath-vulnerable-to-remote-code-execution)
- [JXPath Out-of-bounds Write vulnerability](https://junglewise.ai/threats/cve-2022-40158-jxpath-out-of-bounds-write-vulnerability)
- [JXPath Out-of-bounds Write vulnerability](https://junglewise.ai/threats/cve-2022-40161-jxpath-out-of-bounds-write-vulnerability)
- [JXPath Out-of-bounds Write vulnerability](https://junglewise.ai/threats/cve-2022-40159-jxpath-out-of-bounds-write-vulnerability)
- [JXPath Out-of-bounds Write vulnerability](https://junglewise.ai/threats/cve-2022-40157-jxpath-out-of-bounds-write-vulnerability)
