Description
A flaw has been found in libvips up to 8.18.0. The affected element is the function vips_foreign_load_matrix_file_is_a/vips_foreign_load_matrix_header of the file libvips/foreign/matrixload.c. Executing a manipulation can lead to memory corruption. The attack needs to be launched locally. This patch is called d4ce337c76bff1b278d7085c3c4f4725e3aa6ece. A patch should be applied to remediate this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libvips | 8.0, 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, 8.7, 8.8, 8.9, 8.10, 8.11, 8.12, 8.13, 8.14, 8.15, 8.16, 8.17, 8.18.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vips | 8.18.0-3 | — |
| Debian 13 | vips | 8.16.1-1+deb13u1 | — |
| Debian 12 | vips | 8.14.1-3+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | vips | No fix yet | — |
| Ubuntu 25.10 | vips | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 24.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 22.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 20.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 18.04 LTS | vips | No fix yet | — |
| Ubuntu Pro 16.04 LTS | vips | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | libvips +2 | 8.18.0-r3 | — |
| Wolfi rolling | libvips-8.17 | 8.17.3-r1 | — |
References
- VDB-347651 | libvips matrixload.c vips_foreign_load_matrix_header memory corruption vdb-entry technical-description
- VDB-347651 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #758690 | libvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Error third-party-advisory
- https://github.com/libvips/libvips/issues/4876 issue-tracking
- https://github.com/libvips/libvips/pull/4888 issue-tracking patch
- https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece patch
- https://github.com/libvips/libvips/ product