# CVE-2022-39243: NuProcess vulnerable to command-line injection through insertion of NUL character(s)

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-26T13:25:11.000Z
- Modified: 2026-06-17T04:57:59.053Z
- Also known as: GHSA-cxgf-v2p8-7ph7
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

NuProcess is an external process execution implementation for Java. In all the versions of NuProcess where it forks processes by using the JVM's Java_java_lang_UNIXProcess_forkAndExec method (1.2.0+), attackers can use NUL characters in their strings to perform command line injection. Java's ProcessBuilder isn't vulnerable because of a check in ProcessBuilder.start. NuProcess is missing that check. This vulnerability can only be exploited to inject command line arguments on Linux. Version 2.0.5 contains a patch. As a workaround, users of the library can sanitize command strings to remove NUL characters prior to passing them to NuProcess for execution.

(As written by CVE List.)

## Affected

- brettwooldridge NuProcess: >= 1.2.0, < 2.0.5
- com.zaxxer:nuprocess (Maven): from 1.2.0 before 2.0.5
- nuprocess_project nuprocess: from 1.2.0 before 2.0.5

## Every score

- GitHub_M: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/brettwooldridge/NuProcess/pull/143> (exploit, patch, third-party-advisory, web)
- <https://github.com/brettwooldridge/NuProcess/security/advisories/GHSA-cxgf-v2p8-7ph7> (third-party-advisory, web)
- <https://github.com/brettwooldridge/NuProcess/commit/29bc09de561bf00ff9bf77123756363a9709f868> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39243> (advisory)
- <https://github.com/brettwooldridge/NuProcess> (package)

## Sources

- CVE List: [CVE-2022-39243](https://www.cve.org/CVERecord?id=CVE-2022-39243), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-cxgf-v2p8-7ph7](https://github.com/advisories/GHSA-cxgf-v2p8-7ph7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-39243](https://nvd.nist.gov/vuln/detail/CVE-2022-39243), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39243 · Whole record: https://cve.day/CVE-2022-39243.json · Rebuilt by cve.day 2026-11-25T22:58:15.301Z
