Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libsixel package, versions <1.8.2-2


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.06% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBSIXEL-263105
  • published2 Jan 2019
  • disclosed2 Jan 2019

Introduced: 2 Jan 2019

CVE-2019-3573  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libsixel to version 1.8.2-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libsixel package and not the libsixel package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

In libsixel v1.8.2, there is an infinite loop in the function sixel_decode_raw_impl() in the file fromsixel.c, as demonstrated by sixel2png.