# CVE-2022-4952: OmniSharp csharp-language-server-protocol JSON Serializer SerializerBase.cs CreateSerializerSettings resource consumption

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- 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.89%, higher than 60% of CVEs (2026-12-01)
- Published: 2023-07-17T02:00:03.787Z
- Modified: 2026-11-10T12:10:00.177Z
- Weaknesses: CWE-400
- Assigned by: VulDB

## Description

A vulnerability has been found in OmniSharp csharp-language-server-protocol up to 0.19.6 and classified as problematic. This vulnerability affects the function CreateSerializerSettings of the file src/JsonRpc/Serialization/SerializerBase.cs of the component JSON Serializer. The manipulation leads to resource consumption. Upgrading to version 0.19.7 is able to address this issue. The patch is identified as 7fd2219f194a9ef2a8901bb131c5fa12272305ce. It is recommended to upgrade the affected component. VDB-234238 is the identifier assigned to this vulnerability.

(As written by CVE List.)

## Affected

- OmniSharp csharp-language-server-protocol: 0.19.0; 0.19.1; 0.19.2; 0.19.3; 0.19.4; 0.19.5; 0.19.6
- dotnetfoundation c#_language_server_protocol: before 0.19.7

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 2.7 Low `AV:A/AC:L/Au:S/C:N/I:N/A:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://vuldb.com/?id.234238> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.234238> (permissions-required, signature)
- <https://github.com/OmniSharp/csharp-language-server-protocol/pull/902> (issue-tracking, patch)
- <https://github.com/OmniSharp/csharp-language-server-protocol/commit/7fd2219f194a9ef2a8901bb131c5fa12272305ce> (patch)
- <https://github.com/OmniSharp/csharp-language-server-protocol/releases/tag/v0.19.7> (patch, release-notes)

## Sources

- CVE List: [CVE-2022-4952](https://www.cve.org/CVERecord?id=CVE-2022-4952), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-4952](https://nvd.nist.gov/vuln/detail/CVE-2022-4952), Public domain, modified 2026-11-10

---

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