- Reported
-
- Issued
-
- Package
-
fltk
(crates.io)
- Type
-
Vulnerability
- Keywords
-
#undefined_behavior
- Aliases
-
- References
-
- Patched
-
- Affected Functions
- Version
fltk::image::Pixmap::new
-
fltk::prelude::WidgetExt::set_label_type
-
fltk::prelude::WindowExt::set_icon
-
Description
Affected versions contain multiple memory safety issues, such as:
- Setting a multi label type where an image doesn't exist would lead to a NULL pointer dereference.
- Setting a window icon using a non-raster image (which FLTK rasterizes lazily) would lead to a NULL dereference.
- Pixmap constructor would not check for correct pixmaps which could lead to out-of bound reads.
Advisory available under CC0-1.0
license.