{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.2.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b143a8ba034b73637db078eec942e4c63bd52fc3"
            }
          ],
          "repo": "https://github.com/hrektts/cdr-rs",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in Deserializer::read_vec in the cdr crate before 0.2.4 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated heap memory, violating soundness.",
  "id": "CVE-2021-26305",
  "modified": "2026-03-13T21:49:13.102815676Z",
  "published": "2021-01-29T03:15:12.363Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0012.html"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}