Only main and the latest tag receive fixes. There is no LTS line yet: the
project is pre-1.0 and releases ship weekly.
Do not open a public issue or pull request for security matters. Use one of the private channels:
- GitHub Security Advisories, at github.com/big-comm/bigiris/security/advisories/new. Preferred: encrypted in transit and invisible until disclosure.
- Email to
leoathayde@gmail.comwith a subject starting with[BigIris-Security]. If you want PGP, ask for the public key through the same channel.
Include, as far as possible:
- The affected BigIris version (
bigiris --version). - Distribution and desktop environment (OpenMandriva/BigLinux/Arch/etc., KDE/GNOME/...).
- A minimal reproduction. If it involves a malicious file, describe it without attaching the exploit to this message; agree on a secure channel afterwards.
- The observed impact (for example reading files out of scope, code execution, privilege escalation).
| Severity | First response |
|---|---|
| Critical (RCE, privilege escalation) | within 48 h |
| High (local DoS, arbitrary file read) | within 7 days |
| Medium / Low | within 30 days |
In scope:
- Image file decoding (
bigimage-core). - The local AI pipeline (
bigimage-ai): reading the weights from the system packages and image pre- and post-processing. - The file manager service menu generators (
bigimage-integrations). - The GTK4 viewer (
bigiris/gui). - The project's PKGBUILDs (
pkgbuild/).
Out of scope (report upstream): vulnerabilities in image,
fast_image_resize, dav1d, gtk4, libadwaita, in the
image-engine-native engines,
in Vulkan drivers or in the kernel.
For context on what is already defense in depth:
#![forbid(unsafe_code)]in the library crates; thebigirisbinary has#![deny(unsafe_code)]with audited exceptions incrates/bigiris/src/main.rsandcrates/bigiris/src/codec.rs.- Regular inputs limited to 1 GiB, 256 MP and 512 MiB per decoded buffer, in
the viewer and in conversions alike. The codecs' scratch limits are best
effort. The executable confines decoding to Bubblewrap processes without
network and without access to home/run/etc: the sandbox root,
/usr,/devand the executable are read-only, and only the descriptor of the given image is mounted. The/tmptmpfs, the only writable place, is limited to 64 MiB.prlimitenforces 2 GiB of virtual address space, 30 s of CPU, a 60 s supervision deadline, 64 descriptors and a per-output-file limit of 512 MiB plus header.bigiris --self-testhas a worker check from inside the hidden host directories and network; that every mount but/proc,/tmp,/dev/ptsand six/devdevice nodes is read-only; the/tmpsize, theprlimitvalues, empty capability sets, its own session and the environment (not the parent-death signal, which an LSM domain transition such as Ubuntu'sunpriv_bwrapclears on exec; the worker still dies with bwrap's PID-namespace init); and that its cgroup, IPC, mount, network, PID and UTS namespaces differ from the caller's, as does its user namespace unless bwrap is installed setuid root (the one way it runs without one). The deadline is the caller's and is tested there. This is not a total RSS/cgroup quota nor a seccomp filter. - Service menus replace their target by renaming a sibling temporary file,
which never writes through a symlink. When a package stages them
(
install-integrations --system --destdir, the only system-scope form), a symlink at a target name is refused; a user install writes through a link only to a regular file the same user owns. - Nothing is downloaded: the application has no network client. The AI weights
come from the optional
birefnet-native,realesrgan-native,scunet-nativeandlama-nativepackages, read from/usr/share/<package>/, and all four have FOSS licenses (MIT, BSD-3-Clause, Apache-2.0). For development, theBIGIRIS_*_WEIGHTSvariables point a model at another file in every build; they are read from the user's own environment, which already runs code as that user, so they cross no trust boundary. - Thunar UCA commands wrapped in
sh -c '… "$@"' …so that file names are not reinterpreted by the shell.
The executable's decoding, format inspection and EXIF go through the confined
worker. Standalone consumers of bigimage-core run locally by default.
Encoders, GTK and AI inference (image-engine-native engines, CPU or Vulkan)
stay in the application process. The sandbox does not replace review of the
native libraries or the kernel. The quality report records the tests run and
the gaps; a short run without RSS growth does not prove the absence of leaks.
Static conversions remove personal EXIF/XMP; RGB ICC profiles are converted to sRGB, and invalid or non-RGB profiles are refused explicitly. Animations and multi-page TIFF are refused in static editing. There is no editing support that preserves their frames or pages, nor full HDR handling. New writes use private files; replacements keep the permissions of the regular target when available. Atomic publication protects against encoder failure, but does not promise recovery after a power loss on every file system.
Each model estimates the memory it needs (weights and fixed buffers at load;
network and image buffers at each run, with a margin over the measured peaks)
and checks it before loading and before each run; it considers MemAvailable,
the limits of the cgroup v2 ancestors and RLIMIT_AS. Swap does not count. The
weights come from the system packages (/usr/share/<package>) or a
BIGIRIS_*_WEIGHTS file, never from the network. The policy is not an RSS quota, does not cover cgroup v1 or GPU
memory, and does not remove competition for memory after the check. Inference
stays in the main process. A smaller model needs its own measurements before it
is offered for 4 GB machines.