Improper Resource Shutdown or Release Affecting libvips package, versions <8.18.0-r3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.2% (10th 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-WOLFILATEST-LIBVIPS-15399823
  • published5 Mar 2026
  • disclosed25 Feb 2026

Introduced: 25 Feb 2026

CVE-2026-3146  (opens in a new tab)
CWE-404  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Wolfi libvips to version 8.18.0-r3 or higher.

NVD Description

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

A vulnerability has been found in libvips up to 8.18.0. The impacted element is the function vips_foreign_load_matrix_header of the file libvips/foreign/matrixload.c. The manipulation leads to null pointer dereference. The attack needs to be performed locally. The identifier of the patch is d4ce337c76bff1b278d7085c3c4f4725e3aa6ece. To fix this issue, it is recommended to deploy a patch.

CVSS Base Scores

version 3.1