Incorrect Behavior Order Affecting kanidmd_lib package, versions <1.9.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Incorrect Behavior Order vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-KANIDMDLIB-16624655
  • published10 May 2026
  • disclosed6 May 2026
  • creditUnknown

Introduced: 6 May 2026

New CVE NOT AVAILABLE CWE-190  (opens in a new tab)
CWE-696  (opens in a new tab)

How to fix?

Upgrade kanidmd_lib to version 1.9.3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Behavior Order via the validate_image process. An attacker can cause the server to panic and terminate their own connection by submitting a specially crafted PNG file with malformed input, such as a file shorter than 8 bytes or with a chunk-length field near the maximum value.

CVSS Base Scores

version 4.0
version 3.1