Nixpkgs Security Tracker

Login with GitHub

Suggestions search

With package: libjxl

Found 2 matching suggestions

Published
updated 3 weeks ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
libjxl: Uninitialized memory read in decoder due to incorrect optimization in patch handling

A specially-crafted file can cause libjxl's decoder to read pixel data from uninitialized (but allocated) memory. This can be done by causing the decoder to reference an outside-image-bound area in a subsequent patches. An incorrect optimization causes the decoder to omit populating those areas.

Affected products

libjxl
  • =<0.11.1

Matching in nixpkgs

Package maintainers

Upstream issue: https://github.com/libjxl/libjxl/pull/4495
Upstream patch: https://github.com/libjxl/libjxl/commit/4523cf652f568f1fbb57bf9a10ae3caae785cd9f
Published
updated 3 weeks ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
libjxl: Out-of-bounds write in grayscale color transformation when using LCMS2

A specially-crafted file can cause libjxl's decoder to write pixel data to uninitialized unallocated memory. Soon after that data from another uninitialized unallocated region is copied to pixel data. This can be done by requesting color transformation of grayscale images to another grayscale color space. Buffers allocated for 1-float-per-pixel are used as if they are allocated for 3-float-per-pixel. That happens only if LCMS2 is used as CMS engine. There is another CMS engine available (selected by build flags).

Affected products

libjxl
  • =<0.11.1

Matching in nixpkgs

Package maintainers

Upstream issue: https://github.com/libjxl/libjxl/issues/4549
Upstream patch: https://github.com/libjxl/libjxl/commit/aa66d5b12322f6c326aa7a826db9451170956fa0