{"id":"CVE-2019-25001","aliases":["EUVD-2021-1940","GHSA-xr7r-88qv-q7hm","RUSTSEC-2019-0025","UBUNTU-CVE-2019-25001"],"status":"published","title":"Out of bounds write in serde_cbor","description":"An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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-10","score":0.01409,"percentile":0.72857,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2019-10-03T12:00:00Z","modified":"2026-10-24T10:30:37Z","fixes":[{"ecosystem":"crates.io","package":"serde_cbor","fixed_in":["0.10.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"serde_cbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"serde_cbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.2"}]}]},{"source":"osv","ecosystem":"crates.io","package":"serde_cbor","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rust-serde-cbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1-1","0.11.2-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rust-serde-cbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rust-serde-cbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rust-serde-cbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rust-serde-cbor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-2"]}],"products":[{"vendor":"serde_cbor_project","product":"serde_cbor"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2019-0025.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25001","tags":["advisory"]},{"url":"https://github.com/pyfisch/cbor/releases/tag/v0.10.2","tags":["web"]},{"url":"https://github.com/pyfisch/cbor/pull/153","tags":["web"]},{"url":"https://github.com/pyfisch/cbor/commit/1aec4f9d71855dbfb223fa61ca60260400cc5d5f","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xr7r-88qv-q7hm"},{"url":"https://github.com/pyfisch/cbor","tags":["package"]},{"url":"https://crates.io/crates/serde_cbor","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2019-25001","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-25001","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-25001","description":"An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.","status":"published","published":"2020-12-31T08:33:20Z","modified":"2024-08-05T03:00:19.115Z","updated_at":"2026-11-02T14:20:19.737165Z"}],"euvd":[{"id":"EUVD-2021-1940","description":"An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.","status":"published","published":"2020-12-31T08:33:20Z","modified":"2024-08-05T03:00:19Z","updated_at":"2026-11-03T02:40:19.824838Z"}],"ghsa":[{"id":"GHSA-xr7r-88qv-q7hm","title":"Out of bounds write in serde_cbor","description":"Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization. This allows an attacker to craft small (\u003c 1 kB) CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags.","status":"published","published":"2021-08-25T20:45:51Z","modified":"2023-06-13T21:04:02Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:36:54.225318Z"}],"nvd":[{"id":"CVE-2019-25001","description":"An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.","status":"published","published":"2020-12-31T10:15:14.177Z","modified":"2026-06-17T02:31:27.497Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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-787"],"updated_at":"2026-11-02T14:05:48.502374Z"}],"osv":[{"id":"CVE-2019-25001","description":"An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.","status":"published","published":"2020-12-31T10:15:14.177Z","modified":"2026-10-24T10:30:37.242443592Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"GHSA-xr7r-88qv-q7hm","title":"Out of bounds write in serde_cbor","description":"Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization. This allows an attacker to craft small (\u003c 1 kB) CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags.","status":"published","published":"2021-08-25T20:45:51Z","modified":"2023-11-08T04:01:31.918814Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"RUSTSEC-2019-0025","title":"Flaw in CBOR deserializer allows stack overflow","description":"Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization.\n\nThis allows an attacker to craft small (\u003c 1 kB) CBOR documents that cause a stack overflow.\n \nThe flaw was corrected by limiting the allowed number of nested tags.","status":"published","published":"2019-10-03T12:00:00Z","modified":"2023-11-08T04:01:31.918814Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/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"},{"id":"UBUNTU-CVE-2019-25001","description":"An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.","status":"published","published":"2020-12-31T10:15:00Z","modified":"2026-10-17T12:56:08.080357438Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:21.213407Z"}]}}
