Skip to content

v1.10.4

Latest

Choose a tag to compare

@cshum cshum released this 13 Nov 16:34
· 1 commit to master since this release

Security

  • fix(vipsprocessor): check the BMP header dimensions before decoding — golang.org/x/image/bmp allocates the pixel buffer from the dimensions in the header, before imagor's MaxWidth / MaxHeight / MaxResolution limits were applied. A small BMP that declares huge dimensions could therefore exhaust memory on the fallback path taken when libvips cannot load the BMP itself. Reported as GHSA-rgvc-95qr-8mm4; thanks @rluisr.
  • fix: do not allocate from the source's declared size by @cshum in #887

Full Changelog: v1.10.2...v1.10.4