2.5 LOW
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): Low (L)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): Low (L)
Activity log
- Created suggestion
libsixel: NULL pointer dereference
libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, a wrong NULL check after an allocation call in sixel_decode_raw and sixel_decode causes a NULL pointer dereference whenever the allocation fails. The check tests the address of the output parameter (always non-NULL) instead of the value the malloc returned. On allocation failure, the function continues and writes through a NULL pointer, crashing the process. This is a denial of service against any caller of these public APIs that hits a low-memory condition. This vulnerability is fixed in 1.8.7-r2.
References
-
https://github.com/saitoha/libsixel/security/advisories/GHSA-wpx3-h5g8-qr3w x_refsource_CONFIRM
Affected products
- ==>= 1.0.0, < 1.8.7-r2
Matching in nixpkgs
pkgs.libsixel
SIXEL library for console graphics, and converter programs
pkgs.python312Packages.libsixel
SIXEL graphics encoder/decoder implementation
pkgs.python313Packages.libsixel
SIXEL graphics encoder/decoder implementation
pkgs.python314Packages.libsixel
SIXEL graphics encoder/decoder implementation
Package maintainers
-
@hzeller Henner Zeller <h.zeller@acm.org>
-
@rmcgibbo Robert T. McGibbon <rmcgibbo@gmail.com>