# CVE-2021-29508: Insecure deserialization in Wire

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.58%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-11T16:35:10.000Z
- Modified: 2026-06-17T03:47:47.940Z
- Also known as: GHSA-hpw7-3vq3-mmv6
- Weaknesses: CWE-502
- Assigned by: GitHub_M

## Description

Due to how Wire handles type information in its serialization format, malicious payloads can be passed to a deserializer. e.g. using a surrogate on the sender end, an attacker can pass information about a different type for the receiving end. And by doing so allowing the serializer to create any type on the deserializing end. This is the same issue that exists for .NET BinaryFormatter https://docs.microsoft.com/en-us/visualstudio/code-quality/ca2300?view=vs-2019. This also applies to the fork of Wire.

(As written by CVE List.)

## Affected

- AsynkronIT Wire: <= 1.0.0
- Wire (NuGet): up to 1.0.0
- asynkron wire: no versions given

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:P`

## References

- <https://github.com/AsynkronIT/Wire/security/advisories/GHSA-hpw7-3vq3-mmv6> (exploit, third-party-advisory, web)
- <https://www.nuget.org/packages/Wire/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29508> (advisory)
- <https://www.nuget.org/packages/Wire> (web)

## Sources

- CVE List: [CVE-2021-29508](https://www.cve.org/CVERecord?id=CVE-2021-29508), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hpw7-3vq3-mmv6](https://github.com/advisories/GHSA-hpw7-3vq3-mmv6), CC-BY-4.0, modified 2024-02-17
- NVD: [CVE-2021-29508](https://nvd.nist.gov/vuln/detail/CVE-2021-29508), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29508 · Whole record: https://cve.day/CVE-2021-29508.json · Rebuilt by cve.day 2026-11-25T22:58:01.280Z
