# CVE-2022-24913: Java Merge-sort Insecure Temporary File vulnerability

- Severity: Medium 5.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- 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): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2023-01-12T05:00:01.920Z
- Modified: 2026-06-17T04:32:47.187Z
- Also known as: GHSA-qxxc-7mq4-mf79
- Weaknesses: CWE-377, CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## Description

Versions of the package com.fasterxml.util:java-merge-sort before 1.1.0 are vulnerable to Insecure Temporary File in the StdTempFileProvider() function in StdTempFileProvider.java, which uses the permissive File.createTempFile() function, exposing temporary file contents.

(As written by CVE List.)

## Affected

- com.fasterxml.util:java-merge-sort: before 1.1.0
- com.fasterxml.util:java-merge-sort (Maven): before 1.1.0
- java-merge-sort_project java-merge-sort: before 1.1.0

## Every score

- snyk: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLUTIL-3227926> (third-party-advisory, web)
- <https://github.com/cowtowncoder/java-merge-sort/commit/450fdee70b5f181c2afc5d817f293efa1a543902> (patch, third-party-advisory, web)
- <https://github.com/cowtowncoder/java-merge-sort/pull/21> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24913> (advisory)
- <https://github.com/cowtowncoder/java-merge-sort> (package)

## Sources

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

---

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