{"id":"CVE-2019-15549","aliases":["EUVD-2021-1884","GHSA-v5r6-6r3c-wqxc","RUSTSEC-2019-0007"],"status":"published","title":"Memory exhaustion in asn1_der","description":"An issue was discovered in the asn1_der crate before 0.6.2 for Rust. Attackers can trigger memory exhaustion by supplying a large value in a length field.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01382,"percentile":0.72354,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2019-06-13T12:00:00Z","modified":"2026-06-17T02:20:36Z","fixes":[{"ecosystem":"crates.io","package":"asn1_der","fixed_in":["0.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"asn1_der","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"asn1_der","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"asn1_der","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.6.2"}]}]}],"products":[{"vendor":"asn1_der_project","product":"asn1_der"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0007.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15549","tags":["advisory"]},{"url":"https://github.com/KizzyCode/asn1_der/issues/1","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-v5r6-6r3c-wqxc"},{"url":"https://github.com/KizzyCode/asn1_der","tags":["package"]},{"url":"https://crates.io/crates/asn1_der","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-15549","description":"An issue was discovered in the asn1_der crate before 0.6.2 for Rust. Attackers can trigger memory exhaustion by supplying a large value in a length field.","status":"published","published":"2019-08-26T16:55:10Z","modified":"2024-08-05T00:49:13.629Z","updated_at":"2026-11-02T14:20:21.397307Z"}],"euvd":[{"id":"EUVD-2021-1884","description":"An issue was discovered in the asn1_der crate before 0.6.2 for Rust. Attackers can trigger memory exhaustion by supplying a large value in a length field.","status":"published","published":"2019-08-26T16:55:10Z","modified":"2024-08-05T00:49:13Z","updated_at":"2026-11-03T02:40:35.584574Z"}],"ghsa":[{"id":"GHSA-v5r6-6r3c-wqxc","title":"Memory exhaustion in asn1_der","description":"An issue was discovered in the asn1_der crate before 0.6.2 for Rust. Attackers can trigger memory exhaustion by supplying a large value in a length field.","status":"published","published":"2021-08-25T20:44:56Z","modified":"2023-01-11T05:05:48Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"nvd":[{"id":"CVE-2019-15549","description":"An issue was discovered in the asn1_der crate before 0.6.2 for Rust. Attackers can trigger memory exhaustion by supplying a large value in a length field.","status":"published","published":"2019-08-26T17:15:12.427Z","modified":"2026-06-17T02:20:36.78Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:05:23.725587Z"}],"osv":[{"id":"GHSA-v5r6-6r3c-wqxc","title":"Memory exhaustion in asn1_der","description":"An issue was discovered in the asn1_der crate before 0.6.2 for Rust. Attackers can trigger memory exhaustion by supplying a large value in a length field.","status":"published","published":"2021-08-25T20:44:56Z","modified":"2023-11-08T04:01:14.041634Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"RUSTSEC-2019-0007","title":"Processing of maliciously crafted length fields causes memory allocation SIGABRTs","description":"Affected versions of this crate tried to preallocate a vector for an arbitrary amount of bytes announced by the ASN.1-DER length field without further checks.\n\nThis allows an attacker to trigger a SIGABRT by creating length fields that announce more bytes than the allocator can provide.\n \nThe flaw was corrected by not preallocating memory.","status":"published","published":"2019-06-13T12:00:00Z","modified":"2023-11-08T04:01:14.041634Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
