# CVE-2019-12083: The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's s…

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/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): 2.22%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-05-13T19:06:01.000Z
- Modified: 2026-06-17T02:14:01.753Z
- Weaknesses: CWE-125, CWE-787
- Assigned by: mitre

## Description

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rust-lang rust: from 1.34.0 before 1.34.2
- fedoraproject fedora: 29; 30
- opensuse leap: 15.1

## Every score

- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://blog.rust-lang.org/2019/05/13/Security-advisory.html> (exploit, mitigation, vendor-advisory)
- <https://groups.google.com/forum/#%21topic/rustlang-security-announcements/aZabeCMUv70>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K6T4BNA5KQYJRIKIGGBOGBMR7TRXPHLR/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HG47HYH3AQTUMBUMX3S3G5DNAY4CBW6N/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00076.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00006.html> (mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00031.html> (mailing-list, third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2019-12083](https://www.cve.org/CVERecord?id=CVE-2019-12083), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-12083](https://nvd.nist.gov/vuln/detail/CVE-2019-12083), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-12083 · Whole record: https://cve.day/CVE-2019-12083.json · Rebuilt by cve.day 2026-11-25T22:57:44.757Z
