Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1000657

Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no proof-of-concept exploit is currently published.. This vulnerability appears to have been fixed in after commit fdfafb510b1a38f727e920dccbeeb638d39a8e60; stable release 1.22.0 and later.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1000657
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:33 UTC · Revision 1

Source evidence

CVE-2018-1000657

core-osv · Original source

Published 20 Aug 2018, 19:31 UTC

Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no proof-of-concept exploit is currently published.. This vulnerability appears to have been fixed in after commit fdfafb510b1a38f727e920dccbeeb638d39a8e60; stable release 1.22.0 and later.

osv:CVE-2018-1000657
Complete source record
{
  "id": "e7d0a500edb69d45de5ec31c813dc68594e5444b1f9cc8bfafeb8a6c8c0ba82d",
  "url": "https://osv.dev/vulnerability/CVE-2018-1000657",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1000657",
    "summary": "Rust Programming Language Rust standard library version Commit bfa0e1f58acf1c28d500c34ed258f09ae021893e and later; stable release 1.3.0 and later contains a Buffer Overflow vulnerability in std::collections::vec_deque::VecDeque::reserve() function that can result in Arbitrary code execution, but no proof-of-concept exploit is currently published.. This vulnerability appears to have been fixed in after commit fdfafb510b1a38f727e920dccbeeb638d39a8e60; stable release 1.22.0 and later.",
    "evidence": "osv:CVE-2018-1000657",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-1000657",
      "aliases": [
        "CVE-2018-1000657"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rust-lang/rust",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9a92aaf19a64603b02b4130fe52958cc12488900"
                },
                {
                  "fixed": "328886ba2eaf0d3ac7e78ef3ba27eb296d0af3c0"
                },
                {
                  "fixed": "f71b37bc28326e272a37b938e835d4f99113eec2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.0"
                      },
                      {
                        "fixed": "1.22.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f71b37bc28326e272a37b938e835d4f99113eec2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000657.json"
          }
        }
      ],
      "modified": "2026-10-24T10:47:36.697847059Z",
      "provider": "osv",
      "references": [
        "https://github.com/rust-lang/rust/issues/44800",
        "https://github.com/rust-lang/rust/commit/f71b37bc28326e272a37b938e835d4f99113eec2"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "rust-lang:rust",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.3.0"
                  },
                  {
                    "fixed": "1.22.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1000657",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441391,
  "published_at": "2018-08-20T19:31:45.62+00:00"
}