Skip to content
Open-Source Registry

Incidents / releases/xz-utils / 5.6.0

releases/xz-utils 5.6.0

bitbison: flagged, behavior flagged, dependencies not checked, posture not checked, pipeline clean, 1 of 1 jobs captured RiskcriticalVulnsnone
processes
1,792
operations
90K
packages
0
compiler runs
1,036
connections
0
capture
368 KB
records
136K
bytes / record
2.7
run xz-utils-5.6.0-r2 · built 2026-10-25 · complete
Reviewed by Bitbison: denyIn 2024, the xz-utils 5.6.0 release tarball shipped with a covertly injected backdoor.

Graph

object-provenance · critical · in liblzma.so.5.6.0
7

Checks

6 of 9 clear · 1 not checked Build file changes Data flow analysis
Build behavior✓✓✓✓▲▲○✓
Pipeline✓

Detections

4
  • Could not verify how this object file was built
    liblzma.so.5.6.0
    critical
  • Could not verify how this object file was built
    liblzma_la-crc64_fast.o
    critical
  • Build file tampered
    Makefile
    high
  • Could not verify how this object file was built
    liblzma_la-crc64-fast.o
    high

Detection

criticalwitnessed

Could not verify how this object file was built

Object file origin needs review

Subject
/home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma.so.5.6.0written by x86_64-linux-gnu-ld.bfd
Jobs
build
Rule
object-provenance

Witness chain

  1. /home/bb/work/xz-5.6.0/tests/files/good-large_compressed.lzma
    source
  2. pipe×5xz › head › sed › awk › xz
    1. pipexz -dc ../../tests/files/good-large_compressed.lzma
    2. pipehead -c +2048
    3. pipesed s/\(.\)/\1\n/g
    4. pipeawk BEGIN{FS="\n";RS="\n";ORS="";m=256;for(i=0;i<m;i++){t[sprintf("x%c",i)]=i;c[i]=((i*7)+5)%m;}i=0;j=0;for(l=0;l<4096;l++){i=(i+1)%m;a=c[i];j=(j+a)%m;c[i]=c[j]
    5. pipexz -dc --single-stream
  3. /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.ovia head -c +88792
    • Input written by a non-compiler tool

      /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o [dash]

  4. /home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma_la-crc64_fast.ovia /usr/bin/ld --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o .libs/liblzma_la-crc64_fast.o -r -
  5. /home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma.so.5.6.0via /usr/bin/ld --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -shared -z relro -o .libs/liblzma.so.5.6.0 /usr/lib/gcc/x86_64-linux-gnu/15/../
    • Obfuscated toolchain bypassfrom pipeby xz

      link input /home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma_la-crc64_fast.o: link input /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o: copied input a pipe: Written by xz from a pipe without a recorded source compilation

    subject
  6. member
    artifact
  7. member
    artifact
  8. member
    artifact
  9. member
    artifact

Evidence

  • link input /home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma_la-crc64_fast.o: link input /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o: copied input a pipe: Written by xz from a pipe without a recorded source compilation
  • /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o [dash]

In liblzma.so.5.6.0

Loading the graph

Processes

build

systemd›sshd:›sshd-session:›…›sh›xz

Ran
xz -dc --single-stream
Invoked by
/usr/lib/systemd/systemd
Lineage · 22 processes
  1. systemd/usr/lib/systemd/systemd1
  2. sshd:sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups1107
  3. sshd-session:sshd-session: bb [priv]1737
  4. sshd-session:sshd-session: bb@notty1814
  5. sudosudo1815
  6. shsh1817
  7. runuserrunuser -u bb -- env RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd6…1851
  8. envenv RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd64 sh -c cd '/home…1852
  9. shsh -c cd '/home/bb/work/xz-5.6.0' && ./configure --enable-shared --build=x86_64-pc-linux-gnu >'/mnt/assets/configure.log' 2>&1 && make -j4 >'/mnt/assets/make.lo…1852
  10. makemake -j45467
  11. bash/bin/bash -c make all-recursive5470
  12. makemake all-recursive5470
  13. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5471
  14. makemake all5476
  15. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5477
  16. makemake all5482
  17. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5483
  18. makemake all-am5489
  19. bash/bin/bash -c echo -n ''; export top_srcdir='../..'; export CC='gcc'; export DEFS='-DHAVE_CONFIG_H'; export DEFAULT_INCLUDES='-I. -I../..'; export INCLUDES=''; e…9304
  20. bash/bin/bash9308
  21. sh/bin/sh9313
  22. xzxz -dc --single-stream9368

Remediation

Inspect the writer and input chain. Confirm the object comes from a reviewed build step or declared prebuilt dependency. If its origin cannot be verified, replace it and rebuild.

Detection

criticalwitnessed

Could not verify how this object file was built

Object file origin needs review

Subject
/home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma_la-crc64_fast.owritten by x86_64-linux-gnu-ld.bfd
Jobs
build
Rule
object-provenance

Witness chain

  1. /home/bb/work/xz-5.6.0/tests/files/good-large_compressed.lzma
    source
  2. pipe×5xz › head › sed › awk › xz
    1. pipexz -dc ../../tests/files/good-large_compressed.lzma
    2. pipehead -c +2048
    3. pipesed s/\(.\)/\1\n/g
    4. pipeawk BEGIN{FS="\n";RS="\n";ORS="";m=256;for(i=0;i<m;i++){t[sprintf("x%c",i)]=i;c[i]=((i*7)+5)%m;}i=0;j=0;for(l=0;l<4096;l++){i=(i+1)%m;a=c[i];j=(j+a)%m;c[i]=c[j]
    5. pipexz -dc --single-stream
  3. /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.ovia head -c +88792
    • Input written by a non-compiler tool

      /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o [dash]

  4. /home/bb/work/xz-5.6.0/src/liblzma/.libs/liblzma_la-crc64_fast.ovia /usr/bin/ld --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o .libs/liblzma_la-crc64_fast.o -r -
    • Obfuscated toolchain bypassfrom pipeby xz

      link input /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o: copied input a pipe: Written by xz from a pipe without a recorded source compilation

    subject
  5. member
    artifact
  6. member
    artifact
  7. member
    artifact
  8. member
    artifact

Evidence

  • link input /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o: copied input a pipe: Written by xz from a pipe without a recorded source compilation
  • /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.o [dash]

In liblzma.so.5.6.0

Loading the graph

Processes

build

systemd›sshd:›sshd-session:›…›sh›xz

Ran
xz -dc --single-stream
Invoked by
/usr/lib/systemd/systemd
Lineage · 22 processes
  1. systemd/usr/lib/systemd/systemd1
  2. sshd:sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups1107
  3. sshd-session:sshd-session: bb [priv]1737
  4. sshd-session:sshd-session: bb@notty1814
  5. sudosudo1815
  6. shsh1817
  7. runuserrunuser -u bb -- env RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd6…1851
  8. envenv RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd64 sh -c cd '/home…1852
  9. shsh -c cd '/home/bb/work/xz-5.6.0' && ./configure --enable-shared --build=x86_64-pc-linux-gnu >'/mnt/assets/configure.log' 2>&1 && make -j4 >'/mnt/assets/make.lo…1852
  10. makemake -j45467
  11. bash/bin/bash -c make all-recursive5470
  12. makemake all-recursive5470
  13. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5471
  14. makemake all5476
  15. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5477
  16. makemake all5482
  17. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5483
  18. makemake all-am5489
  19. bash/bin/bash -c echo -n ''; export top_srcdir='../..'; export CC='gcc'; export DEFS='-DHAVE_CONFIG_H'; export DEFAULT_INCLUDES='-I. -I../..'; export INCLUDES=''; e…9304
  20. bash/bin/bash9308
  21. sh/bin/sh9313
  22. xzxz -dc --single-stream9368

Remediation

Inspect the writer and input chain. Confirm the object comes from a reviewed build step or declared prebuilt dependency. If its origin cannot be verified, replace it and rebuild.

Detection

highwitnessed

Build file tampered

Subject
/home/bb/work/xz-5.6.0/src/liblzma/Makefilewritten by sed
Jobs
build
Rule
build-file-tamper

Evidence

  1. Generated file edited in placecause

    Edited in place by: sed -i /^ACLOCAL_M4 = $(top_srcdir)\/aclocal.m4/iam__test = bad-3-corrupt_lzma2.xz src/liblzma/Makefile

    subject /home/bb/work/xz-5.6.0/src/liblzma/Makefile

    by sed -i /^ACLOCAL_M4 = $(top_srcdir)\/aclocal.m4/iam__test = bad-3-corrupt_lzma2.xz src/liblzma/Makefile

  2. Read after the editsupport

    The file was read 1 times after the edit.

    subject /home/bb/work/xz-5.6.0/src/liblzma/Makefile

Processes

build

systemd›sshd:›sshd-session:›…›sh›sed

Ran
sed -i /^LTLIBRARIES = $(lib_LTLIBRARIES)/iLTDEPS='$(lib_LTDEPS)'; \\\n export top_srcdir='$(top_srcdir)'; \\\n export CC='$(CC)'; \\\n export DEFS='$(…
Invoked by
/usr/lib/systemd/systemd
Lineage · 16 processes
  1. systemd/usr/lib/systemd/systemd1
  2. sshd:sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups1107
  3. sshd-session:sshd-session: bb [priv]1737
  4. sshd-session:sshd-session: bb@notty1814
  5. sudosudo1815
  6. shsh1817
  7. runuserrunuser -u bb -- env RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd6…1851
  8. envenv RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd64 sh -c cd '/home…1852
  9. shsh -c cd '/home/bb/work/xz-5.6.0' && ./configure --enable-shared --build=x86_64-pc-linux-gnu >'/mnt/assets/configure.log' 2>&1 && make -j4 >'/mnt/assets/make.lo…1852
  10. sh/bin/sh ./configure --enable-shared --build=x86_64-pc-linux-gnu1853
  11. bash/bin/bash ./configure --enable-shared --build=x86_64-pc-linux-gnu1853
  12. bash/bin/bash ./configure --enable-shared --build=x86_64-pc-linux-gnu1853
  13. bash/bin/bash ./config.status4346
  14. bash/bin/bash5344
  15. sh/bin/sh5353
  16. sedsed -i /^LTLIBRARIES = $(lib_LTLIBRARIES)/iLTDEPS='$(lib_LTDEPS)'; \\\n export top_srcdir='$(top_srcdir)'; \\\n export CC='$(CC)'; \\\n export DEFS='$(…5433

Remediation

Compare the file with its generated version. Review added commands, rules, and inputs; remove unexpected changes.

Detection

highwitnessed

Could not verify how this object file was built

Object file origin needs review

Subject
/home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.owritten by dash
Jobs
build
Rule
object-provenance

Witness chain

  1. /home/bb/work/xz-5.6.0/tests/files/good-large_compressed.lzma
    source
  2. pipe×5xz › head › sed › awk › xz
    1. pipexz -dc ../../tests/files/good-large_compressed.lzma
    2. pipehead -c +2048
    3. pipesed s/\(.\)/\1\n/g
    4. pipeawk BEGIN{FS="\n";RS="\n";ORS="";m=256;for(i=0;i<m;i++){t[sprintf("x%c",i)]=i;c[i]=((i*7)+5)%m;}i=0;j=0;for(l=0;l<4096;l++){i=(i+1)%m;a=c[i];j=(j+a)%m;c[i]=c[j]
    5. pipexz -dc --single-stream
  3. /home/bb/work/xz-5.6.0/src/liblzma/liblzma_la-crc64-fast.ovia head -c +88792
    • Obfuscated toolchain bypassfrom pipeby xz

      copied input a pipe: Written by xz from a pipe without a recorded source compilation

    subject
  4. member
    artifact
  5. member
    artifact
  6. member
    artifact
  7. member
    artifact

Evidence

  • copied input a pipe: Written by xz from a pipe without a recorded source compilation

In liblzma.so.5.6.0

Loading the graph

Processes

build

systemd›sshd:›sshd-session:›…›sh›xz

Ran
xz -dc --single-stream
Invoked by
/usr/lib/systemd/systemd
Lineage · 22 processes
  1. systemd/usr/lib/systemd/systemd1
  2. sshd:sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups1107
  3. sshd-session:sshd-session: bb [priv]1737
  4. sshd-session:sshd-session: bb@notty1814
  5. sudosudo1815
  6. shsh1817
  7. runuserrunuser -u bb -- env RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd6…1851
  8. envenv RPM_ARCH=x86_64 RPM_OS=linux DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_HOST_ARCH=amd64 DEB_BUILD_ARCH=amd64 sh -c cd '/home…1852
  9. shsh -c cd '/home/bb/work/xz-5.6.0' && ./configure --enable-shared --build=x86_64-pc-linux-gnu >'/mnt/assets/configure.log' 2>&1 && make -j4 >'/mnt/assets/make.lo…1852
  10. makemake -j45467
  11. bash/bin/bash -c make all-recursive5470
  12. makemake all-recursive5470
  13. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5471
  14. makemake all5476
  15. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5477
  16. makemake all5482
  17. bash/bin/bash -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${tar…5483
  18. makemake all-am5489
  19. bash/bin/bash -c echo -n ''; export top_srcdir='../..'; export CC='gcc'; export DEFS='-DHAVE_CONFIG_H'; export DEFAULT_INCLUDES='-I. -I../..'; export INCLUDES=''; e…9304
  20. bash/bin/bash9308
  21. sh/bin/sh9313
  22. xzxz -dc --single-stream9368

Remediation

Inspect the writer and input chain. Confirm the object comes from a reviewed build step or declared prebuilt dependency. If its origin cannot be verified, replace it and rebuild.

Versions1

Raw data

capture
368 KB
records
136,449
bytes per record
2.7

Loading a sample of the capture

Want to see more? E-mail us at hello@bitbison.io about your use case.

1 of 1 jobs captured: build success · Generated 2026-10-25 · run xz-utils-5.6.0-r2

analysis 0.1.0+ga03fa774c491 · graph v2

Bitbison's review

xz-utils 5.6.0

Verdict
deny
Behaviors
malicious
Covers
5.6.0
Reviewed by
Bitbison
Updated
2026-11-04

In 2024, the xz-utils 5.6.0 release tarball shipped with a covertly injected backdoor.