{"id":"CVE-2021-26953","aliases":["CVE-2021-26953","GHSA-fhvc-gp6c-h2wx","RUSTSEC-2021-0017"],"related":[],"kind":"vulnerability","state":"published","title":"Read on uninitialized buffer in postscript","summary":"An issue was discovered in the postscript crate before 0.14.0 for Rust. It might allow attackers to obtain sensitive information from uninitialized memory locations via a user-provided Read implementation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the postscript crate before 0.14.0 for Rust. It might allow attackers to obtain sensitive information from uninitialized memory locations via a user-provided Read implementation.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation.\n\nArbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n\nThis flaw was fixed in commit `8026286` by zero-initializing the buffer before handing to a user-provided Read.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n\nThis flaw was fixed in commit 8026286 by zero-initializing the buffer before handing to a user-provided `Read`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate postscript versiones anteriores a  0.14.0 para Rust.&#xa0;Podría permitir a atacantes obtener información confidencial de ubicaciones de memoria no inicializadas por medio de una implementación de Lectura proporcionada por el usuario","source":"nvd"}],"published":"2021-01-30T12:00:00.000Z","modified":"2026-06-17T03:44:04.037Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.14.0"}],"ecosystem":"crates.io","package":"postscript","purl":"pkg:cargo/postscript","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.14.0"}],"ecosystem":"crates.io","package":"postscript","purl":"pkg:cargo/postscript","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.14.0"}],"vendor":"postscript_project","product":"postscript","cpe":"cpe:2.3:a:postscript_project:postscript:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0017.html","tags":["advisory","exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26953","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/bodoni/postscript/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/bodoni/postscript/commit/8026286","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/bodoni/postscript","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/postscript","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26953","url":"https://www.cve.org/CVERecord?id=CVE-2021-26953","licence":"CVE Terms of Use","modified":"2024-08-03T20:33:41.377Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fhvc-gp6c-h2wx","url":"https://github.com/advisories/GHSA-fhvc-gp6c-h2wx","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:22.958Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0017","url":"https://rustsec.org/advisories/RUSTSEC-2021-0017.html","licence":"CC0-1.0","modified":"2023-11-08T04:05:22.958Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26953","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26953","licence":"Public domain","modified":"2026-06-17T03:44:04.037Z"}],"updatedAt":"2026-11-25T22:57:59.874Z","epss":{"score":0.01508,"percentile":0.75179,"date":"2026-12-02T12:00:21.000Z"}}