Out-of-bounds Read Affecting github.com/lxc/incus/internal/server/storage package, versions <7.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (33rd 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-GOLANG-GITHUBCOMLXCINCUSINTERNALSERVERSTORAGE-16419360
  • published5 May 2026
  • disclosed4 May 2026
  • creditstamparm

Introduced: 4 May 2026

CVE-2026-40251  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade github.com/lxc/incus/internal/server/storage to version 7.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read through improper bounds checking in the CreateInstanceFromBackup and CreateInstanceFromMigration functions. An attacker can cause the daemon to crash by submitting a crafted backup archive with physical snapshot directories and a tampered metadata array, resulting in a denial of service.

CVSS Base Scores

version 4.0
version 3.1