{"id":"CVE-2021-28306","aliases":["EUVD-2021-1577","GHSA-5pg8-h4gv-m3p8","GHSA-7qcc-g2m9-8533","GHSA-vjmg-pc8h-p6p8","RUSTSEC-2021-0038"],"status":"published","title":"Null pointer deference in fltk","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","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-09","score":0.0113,"percentile":0.6663,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125","CWE-476"],"published":"2021-03-06T12:00:00Z","modified":"2026-10-24T10:30:41Z","fixes":[{"ecosystem":"crates.io","package":"fltk","fixed_in":["0.15.3"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"fltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.3"}]}]},{"source":"osv","ecosystem":"crates.io","package":"fltk","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.15.3"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"fltk","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.15.3"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"fltk","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.15.3"}]}],"bundled":3},{"source":"osv","ecosystem":"crates.io","package":"fltk","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.15.3"}]}],"bundled":3}],"products":[{"vendor":"fltk_project","product":"fltk"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0038.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28306","tags":["advisory"]},{"url":"https://github.com/MoAlyousef/fltk-rs/issues/519","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-5pg8-h4gv-m3p8"},{"url":"https://github.com/MoAlyousef/fltk-rs","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28307","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28308","tags":["advisory"]},{"url":"https://crates.io/crates/fltk","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-28306","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","status":"published","published":"2021-03-12T08:15:46Z","modified":"2024-08-03T21:40:14.158Z","updated_at":"2026-11-02T14:33:09.175141Z"}],"euvd":[{"id":"EUVD-2021-1577","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","status":"published","published":"2021-03-12T08:15:46Z","modified":"2024-08-03T21:40:14Z","updated_at":"2026-11-03T03:24:46.751124Z"}],"ghsa":[{"id":"GHSA-5pg8-h4gv-m3p8","title":"Null pointer deference in fltk","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","status":"published","published":"2021-08-25T20:53:56Z","modified":"2023-06-13T18:12:08Z","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-476"],"updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2021-28306","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","status":"published","published":"2021-03-12T09:15:12.94Z","modified":"2026-06-17T03:46:08.11Z","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-476"],"updated_at":"2026-11-02T14:06:50.805771Z"}],"osv":[{"id":"CVE-2021-28306","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","status":"published","published":"2021-03-12T09:15:12.94Z","modified":"2026-10-24T10:30:30.171997037Z","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:19.129331Z"},{"id":"CVE-2021-28307","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a non-raster image for a window icon.","status":"published","published":"2021-03-12T09:15:13Z","modified":"2026-10-24T10:30:41.745133662Z","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:19.129331Z"},{"id":"CVE-2021-28308","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is an out-of bounds read because the pixmap constructor lacks pixmap input validation.","status":"published","published":"2021-03-12T09:15:13.063Z","modified":"2026-10-24T10:30:23.167413094Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"GHSA-5pg8-h4gv-m3p8","title":"Null pointer deference in fltk","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a multi label type if the image is nonexistent.","status":"published","published":"2021-08-25T20:53:56Z","modified":"2024-03-15T00:05:17.414684Z","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-476"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"GHSA-7qcc-g2m9-8533","title":"Null pointer deference in fltk","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is a NULL pointer dereference during attempted use of a non-raster image for a window icon.","status":"published","published":"2021-08-25T20:53:53Z","modified":"2024-03-15T00:05:17.414684Z","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-476"],"updated_at":"2026-11-02T15:46:41.349637Z"},{"id":"GHSA-vjmg-pc8h-p6p8","title":"Out of bounds read in fltk","description":"An issue was discovered in the fltk crate before 0.15.3 for Rust. There is an out-of bounds read because the pixmap constructor lacks pixmap input validation.","status":"published","published":"2021-08-25T20:53:58Z","modified":"2024-03-15T00:05:17.414684Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:57.348035Z"},{"id":"RUSTSEC-2021-0038","title":"Multiple memory safety issues","description":"Affected versions contain multiple memory safety issues, such as:\n\n - Setting a multi label type where an image doesn't exist would lead to a NULL pointer dereference.\n - Setting a window icon using a non-raster image (which FLTK rasterizes lazily) would lead to a NULL dereference.\n - Pixmap constructor would not check for correct pixmaps which could lead to out-of bound reads.","status":"published","published":"2021-03-06T12:00:00Z","modified":"2024-03-15T00:05:17.414684Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
