Commit Graph

77817 Commits

Author SHA1 Message Date
Thomas Perale
0955700ceb package/python-django: security bump to 5.1.15
For more details on the version bump, see the release note:
 - https://docs.djangoproject.com/en/dev/releases/5.1.15/

Fixes the following security issue:

- CVE-2025-13372:

Potential SQL injection in FilteredRelation column aliases on
PostgreSQL.

For more information, see:
  - https://nvd.nist.gov/vuln/detail/CVE-2025-13372

- CVE-2025-64460:

Potential denial-of-service vulnerability in XML Deserializer.

For more information, see:
  - https://nvd.nist.gov/vuln/detail/CVE-2025-64460

(cherry picked from commit 2622f9ca25)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:17:06 +01:00
Thomas Perale
a10fc5bba2 package/sysprof: remove 'debuginfod' config symbol
Commit [1] was erroneously picked because it mentioned commit [2], which
is present in the LTS branch.

In fact, the 'debuginfod' option was introduced in the sysprof package in
version 48.0 (see [3] and Buildroot commit [4]), which was not picked in the
LTS branch.

This patch reverts commit [1] and removes the option it introduced, which
does not exist in sysprof 47.2.

[1] 26fd8eb217 package/sysprof: disable debuginfod support
[2] 52c5c6050c package/elfutils: bump to version 0.181
[3] d2471d4bf5
[4] e743759a52 package/sysprof: bump to version 48.0

Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/152
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Acked-by: Adrian Perez de Castro <aperez@igalia.com>
2026-01-06 09:17:04 +01:00
Bernd Kuhls
f25febab37 package/libxml2: bump version to 2.15.1
Release notes:
https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.1.news

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a67cff491a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:17:02 +01:00
Bernd Kuhls
d84ae3b086 package/libxml2: fix build of packages detecting libxml2 using libxml2-config.cmake
Fixes build error seen with libiio:

mips64el-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used
 in cross-compilation: '-I/usr/include/libxml2'

caused by bump of libxml2 to 2.15.0 with buildroot commit
d81922c1ef.

Upstream acknowledged the problem and waits for a fix
https://gitlab.gnome.org/GNOME/libxml2/-/issues/898#note_2453923
so we revert the offending commit for now.

Fixes:
https://autobuild.buildroot.net/results/fde/fde40a3d6ac58f568e49419e5176db5a62a0a4d9/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 42790e76e5)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:17:00 +01:00
Bernd Kuhls
ba25e8c32d package/libxml2: bump version to 2.15.0
Removed all patches because they are included in this release, although
with different commits than mentioned in our patch files:

0001: acbbeef9f5
0002: f7ebc65f05
0003: c24909ba26
0004: c340e41950

Updated license hash due to upstream commit:
4bd66d4549

Removed python3 bindings due to their pending removal in 2.16:
https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.0.news
which prevents us from adding a dependency on host-doxygen due to
upstream commit
bbe5827c94
"Doxygen will also be required to build the Python bindings."

Removed lzma support due to upstream removal:
1763281cd6

Added configure options for threads and static/shared libs needed due to
upstream commit:
f070acc564

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit d81922c1ef)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:58 +01:00
Thomas Perale
d2b2dc49ab package/python-filelock: fix CVE-2025-68146
Fixes the following vulnerability:

- CVE-2025-68146

A Time-of-Check-Time-of-Use (TOCTOU) race condition allows local
attackers to corrupt or truncate arbitrary user files through symlink
attacks.

For more informations, see:
  - https://nvd.nist.gov/vuln/detail/CVE-2025-68146
  - 18a9988008

(cherry picked from commit d9c1379d1f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:56 +01:00
Bernd Kuhls
4a146c1e40 package/libmbus: bump version to 0.9.0
Release notes:
https://github.com/rscada/libmbus/blob/0.9.0/release_notes.txt

Downloading the source tarball is broken since at least Oct 30th, 2024
as reported by the buildroot autobuilders:
https://autobuild.buildroot.net/?reason=libmbus-0.8.0&step=50&start=50

Switching to the github helper provides the correct source code but the
tarball downloaded has a different hash. A quick search did not provide
alternative download locations for the original tarball
libmbus-0.8.0.tar.gz.

To solve the broken build we do not only switch _SITE to github but also
bump the package to 0.9.0 and add autoreconf which needs two directories
being created in _POST_PATCH_HOOKS. One missing directory was already
reported upstream: https://github.com/rscada/libmbus/issues/179

Updated license hash due to upstream commit:
ab8919136d

Fixes:
https://autobuild.buildroot.net/results/91a/91a82dc73bf87cf1969cd6a2ddea1809ab9a1613/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: change release notes url to use tag]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e42b3de3b1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:54 +01:00
Fiona Klute
4555cb1672 support/testing: infra: add host bin dir to PATH when running host command
Some host commands need to call other host commands: For example,
"mkimage" from host-uboot-tools needs to run "dtc". This would fail or
call system commands without adding the host bin dir to PATH.

Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
[Julien: use python functions/constants to build path]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit befb6ae81d)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:52 +01:00
Francois Perrad
205f959018 package/linenoise: security bump to version e26268de5e
Fixes:
CVE-2025-9810: TOCTOU in linenoiseHistorySave
https://www.cve.org/CVERecord?id=CVE-2025-9810

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3c7cbf97d7)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:50 +01:00
Giulio Benetti
4180214a2d package/cryptsetup: bump version to 2.8.1
For release note, see:
https://gitlab.com/cryptsetup/cryptsetup/-/blob/v2.8.1/docs/v2.8.1-ReleaseNotes

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 4b987677e1)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:48 +01:00
Giulio Benetti
3941e168b2 package/cryptsetup: bump version to 2.8.0
For release note, see:
https://gitlab.com/cryptsetup/cryptsetup/-/blob/v2.8.0/docs/v2.8.0-ReleaseNotes

Rearrange license files according to upstream.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Julien:
 - add link to release note in commit log
 - reindent _LICENSE_FILES
 - fix COPYING.* file path in .hash file
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit a717d99803)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:46 +01:00
Thomas Perale
ddf4033924 package/php: security bump to v8.3.29
For more information on the release, see:

- https://www.php.net/ChangeLog-8.php#8.3.29
- https://www.php.net/ChangeLog-8.php#8.3.28
- https://www.php.net/ChangeLog-8.php#8.3.27
- https://www.php.net/ChangeLog-8.php#8.3.26
- https://www.php.net/ChangeLog-8.php#8.3.25

Fixes the following security issues:

- CVE-2025-14180

For more information, see:
  - https://github.com/php/php-src/security/advisories/GHSA-8xr5-qppj-gvwj

- CVE-2025-14178

For more information, see:
  - https://github.com/php/php-src/security/advisories/GHSA-h96m-rvf9-jgm2

- CVE-2025-14177

For more information, see:
  - https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7

(cherry picked from 1525803179)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-06 09:16:38 +01:00
Thomas Petazzoni
2d40b04b7c package/sway: properly propagate wlroots dependencies
Commit 00fb3a57cb added a wlroots ->
libgbm dependency, but forgot to propagate it to package/sway.

Cc: Raphael Pavlidis <raphael.pavlidis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Reviewed-by: Raphael Pavlidis <raphael.pavlidis@gmail.com>
Tested-by: Raphael Pavlidis <raphael.pavlidis@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 6c512c8be0)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-27 16:31:08 +01:00
Thomas Petazzoni
eacf7d27f0 package/cage: properly propagate wlroots dependencies
Commit 00fb3a57cb added a wlroots ->
libgbm dependency, but forgot to propagate it to package/cage.

Fixes:

  https://autobuild.buildroot.net/results/dc185c3d4886e9cfd9e6f46b50b864e5b2f28605/

Cc: Raphael Pavlidis <raphael.pavlidis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 3d7261b27a)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-27 16:31:00 +01:00
Bernd Kuhls
853f7344f9 package/exim: security bump version to 4.99.1
Release notes:
https://lists.exim.org/lurker/message/20251217.151548.85d1a2bc.en.html

Fixes CVE-2025-67896:
https://code.exim.org/exim/exim/src/branch/exim-4.99+fixes/doc/doc-txt/exim-security-2025-12-09.1/report.txt

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 9a058aa701)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-27 16:30:37 +01:00
Bernd Kuhls
38fdef6b57 package/exim: bump version to 4.99
Release notes:
https://lists.exim.org/lurker/message/20251028.114149.3bf19800.en.html

Rebased patch 0001 due to upstream commit
cd43f5ee0f

Rebased patch 0004 due to upstream commit
834dae5565

Added patch 0005 to fix cross-builds.

Added ldflags for mips arch to solve build error with br-mips64-n64-full
defconfig, code copied from package/linux-tools/linux-tool-perf.mk.in:

output/per-package/exim/host/bin/mips64el-linux-ld: dkim_tmp.o: ABI is incompatible with that of the selected emulation
output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file dkim_tmp.o
output/per-package/exim/host/bin/mips64el-linux-ld: dkim_transport.o: ABI is incompatible with that of the selected emulation
output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file dkim_transport.o
output/per-package/exim/host/bin/mips64el-linux-ld: pdkim.o: ABI is incompatible with that of the selected emulation
output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file pdkim.o
output/per-package/exim/host/bin/mips64el-linux-ld: signing.o: ABI is incompatible with that of the selected emulation
output/per-package/exim/host/bin/mips64el-linux-ld: failed to merge target specific data of file signing.o
output/per-package/exim/host/bin/mips64el-linux-ld: attempt to do relocatable link with elf64-tradlittlemips input and elf32-ntradlittlemips output
output/per-package/exim/host/bin/mips64el-linux-ld: dkim_tmp.o: file class ELFCLASS64 incompatible with ELFCLASS32
output/per-package/exim/host/bin/mips64el-linux-ld: final link failed: file in wrong format

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: add "Upstream" header in patch 5 to fix check-package error]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit e945af24ed)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-27 16:29:01 +01:00
Thomas Devoogdt
9e030165a7 package/libfcgi: security bump to 2.4.7
This is a security bump to fix CVE-2025-23016.

See:
https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.7

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 626bc1f199)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-27 10:32:01 +01:00
Thomas Devoogdt
ccd8a00240 package/libfcgi: update to 2.4.6
Announcement:
- https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.6

Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 97e52b323c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-27 10:31:46 +01:00
Marcus Hoffmann
c527be5f24 package/zic: bump to 2025c
Release notes:
https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/TAGXKYLMAQRZRFTERQ33CEKOW7KRJVAK/

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 2dc61b52e8)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-24 15:13:17 +01:00
Marcus Hoffmann
0c6dcf6a96 package/tzdata: bump to 2025c
Release Notes:
https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/thread/TAGXKYLMAQRZRFTERQ33CEKOW7KRJVAK/

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 5cda56f05e)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-24 15:13:08 +01:00
Matt Johnston
afb31e72e2 package/dropbear: security bump to version 2025.89
Fixes CVE-2025-14282
https://security-tracker.debian.org/tracker/CVE-2025-14282
CVE-2019-6111 for scp
https://security-tracker.debian.org/tracker/CVE-2019-6111

Release notes:
https://github.com/mkj/dropbear/releases/tag/DROPBEAR_2025.89

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 700fcc4847)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-24 15:11:46 +01:00
Peter Korsgaard
9f252cfc66 package/python-urllib3: bump to version 2.6.2
Fixes a regression in the 2.6.x series:

- Fixed HTTPResponse.read_chunked() to properly handle leftover data in the
  decoder's buffer when reading compressed chunked responses

https://github.com/urllib3/urllib3/releases/tag/2.6.2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 974b5ce907)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 17:45:13 +01:00
Michael Nosthoff
e81d65de87 package/grpc: remove BUILD_CSHARP_EXT option
the CSharp Extension was removed in grcp 1.47.0 [0] and the option in
the CMakeLists was dropped in 1.58.0 [1], which means that it is no
longer relevant since Buildroot commit
91d1207de0, which bumped grpc from
1.51.1 to 1.66.1.

So remove this option for host-grpc as well.

Fixes:
  CMake Warning:
    Manually-specified variables were not used by the project:

      gRPC_BUILD_CSHARP_EXT

[0] https://github.com/grpc/grpc/releases/tag/v1.47.0
[1] 3a2bd221ef

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e513d6a5fd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 17:01:49 +01:00
Thomas Petazzoni
9d38383aef linux: select host-openssl for all architectures when building latest version
Since at least Linux 6.16, but possibly earlier, host-openssl is now
needed on the vast majority of CPU architectures.

A common reason to require host-openssl in the Kernel is to enable
Wireless Networking. This is now enabled in most defconfigs.

- When enabling CONFIG_NET [1]
- CONFIG_WIRELESS is enabled by default [2]
- For Wireless, CONFIG_CFG80211 is commonly enabled too [3]
- CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is enabled by default
  which selects SYSTEM_DATA_VERIFICATION [4]
- CONFIG_SYSTEM_DATA_VERIFICATION
  select SYSTEM_TRUSTED_KEYRING [5]
- CONFIG_SYSTEM_TRUSTED_KEYRING adds system_certificates.o
  which needs x509_certificate_list and extract-cert [6]
- and finally, extract-cert uses host-openssl [7]

Even if some architecture defconfigs (such as m68k) are not directly
enabling CONFIG_CFG80211 in the Kernel, there is still chances for
this option to be enabled by Kernel configuration fixups of selected
Buildroot package. This situation can happen in Buildroot
autobuilders.

Also, in some specific cases, host-openssl might be needed for
some other reasons (e.g. s390 arch defconfig enables
SYSTEM_DATA_VERIFICATION which ends up the same way).

Indeed, in order to fix build issues, we would have to add: armeb,
microblaze, loongarch, m68k, mips, mipsel, mips64, mips64el, powerpc,
powerpc64, powerpc64el, riscv, s390, and possibly others.

So intead, when "latest kernel" is used with the default architecture
configuration, always select host-openssl independently of the
selected architectures.

Fixes:

  https://autobuild.buildroot.net/results/9a314e759f7640d760003e46f86153300478ec60/ (mipsel)
  https://autobuild.buildroot.net/results/3bcc674ea5a7cdf031200b0cd2f9f71400ba391c/ (mips64el)
  https://autobuild.buildroot.net/results/b24983fd91f408de56479b7d7d57fc9fd3333d7d/ (s390)
  https://autobuild.buildroot.net/results/b262fc6f67a9fed55faffcdd580d89f4664e1e16/ (powerpc64)
  https://autobuild.buildroot.net/results/45da1538457b18671fa18efe3e1aa57a15561370/ (m68k)
  https://autobuild.buildroot.net/results/0a457375d2509f1b29a449dfa50f29fc7e56e568/ (armeb)
  https://autobuild.buildroot.net/results/814ca5f048827a635dea0199878fa82d5012b649/ (loongarch64)
  https://autobuild.buildroot.net/results/b684d0b37e5187aa9b31693356f8515857d19f7a/ (microblaze)

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/Kconfig?h=v6.18.1#n6
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/Kconfig?h=v6.18.1#n428
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/wireless/Kconfig?h=v6.18.1#n17
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/wireless/Kconfig?h=v6.18.1#n89
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/init/Kconfig?h=v6.18.1#n2063
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/certs/Makefile?h=v6.18.1#n6
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/certs/extract-cert.c?h=v6.18.1#n21

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
[Julien: add extra info in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit bba86304b0)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:59:30 +01:00
Francois Perrad
fad4bacc77 package/perl: security bump to version 5.40.3
This commit fixes CVE-2025-40909:
Perl threads have a working directory race condition where file
operations may target unintended paths.

For release notes, see:
https://perldoc.perl.org/5.40.3/perl5403delta

Fixes:
https://www.cve.org/CVERecord?id=CVE-2025-40909

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Julien: add link to cve.org]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 61f5e2efca)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:57:51 +01:00
Thomas Perale
096589bd59 docs/manual: mention CVE trailer
Adds documentation about adding a patch that address a vulnerability.

The patch-policy file now explain mention that patches that address a
vulnerability needs to include a `CVE:` trailer with the reference of
that vulnerability.

Until now only adding the reference to the `_IGNORE_CVES` variable was
necessary, so the documentation of this entry is modified as well to
point to the patch policy.

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 1167d0ff3d)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:56:23 +01:00
Thomas Perale
95c0e5ca95 utils/generate-cyclonedx: add support for 'resolved_with_pedigree'
The CycloneDX specification for vulnerabilities defines four analysis
states ([1]) for cases where a vulnerability does not affect a component:

* resolved
* resolved_with_pedigree
* not_affected
* false_positive

Currently, the metadatas present in Buildroot does not allow an accurate
mapping of ignored CVEs to the appropriate CycloneDX vulnerability
categories. As a result, all ignored CVEs are currently marked as
'in_triage' by default.

This default analysis was established during the introduction of the
'generate-cyclonedx' script. The reasoning at the time was that SBOM
consumers might want to re-evaluate ignored vulnerabilities, as the
Buildroot infrastructure could not reliably determine their actual
state.

This patch adds support for automatically marking vulnerabilities as
'resolved_with_pedigree' when a Buildroot patch includes a 'CVE:''
tag in its header referencing the CVE identifier.

The 'CVE:' tag appears alongside the already required 'Upstream:', if
the patch address a security vulnerability and may be repeated if a
patch addresses multiple vulnerabilities.

If a vulnerability is addressed by multiple patches, each patch will need to
reference the vulnerability identifier.

For details on how CycloneDX handles 'resolved_with_pedigree', see
[1][2].

As an example, the CVE-2025-3198 from the binutils package will result
in the following pedigree for the binutils component:

```
{
    "type": "unofficial",
    "diff": {
        "text": {
            "content": "..."
        }
    },
    "resolves": [
        {
            "type": "security",
            "name": "CVE-2025-3198"
        }
    ]
},
```

The `resolves` property is an array of issue the pedigree resolves. If
multiple are addressed by the same patch, then multiple identifier will be
present in this array.

In the listed vulnerabilities the entry for the CVE-2025-3198 looks like
this:

```
{
    "id": "CVE-2025-3198",
    "analysis": {
        "state": "resolved_with_pedigree",
        "detail": "The CVE 'CVE-2025-3198' has been marked as ignored by Buildroot"
    },
    "affects": [
        {
            "ref": "binutils"
        }
    ]
}
```

[1] https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_analysis_state
[2] https://cyclonedx.org/docs/1.6/json/#components_items_pedigree_patches_items_resolves

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 9415529923)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:56:17 +01:00
Bernd Kuhls
0b8037b1e5 package/libarchive: security bump version to 3.8.4
https://github.com/libarchive/libarchive/releases/tag/v3.8.3
"Libarchive 3.8.3 is a bugfix and security release."
https://github.com/libarchive/libarchive/releases/tag/v3.8.4

Switch to sha256 tarball hash provided by upstream.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien:
 - add missing '#' in hash file to fix check-package error
 - add back the comment with the pgp signature
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 68b83f9a80)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:56:03 +01:00
Bernd Kuhls
7f233cd78e package/python-brotli: security bump to version 1.2.0
https://github.com/google/brotli/blob/v1.2.0/CHANGELOG.md

Adds the following security hardening:

python: added Decompressor::can_accept_more_data method and optional
output_buffer_limit argument Decompressor::process; that allows mitigation
of unexpectedly large output

Which is needed to complete the security fixes in python-urllib3 2.6.0.

Added dependency to host-python-pkgconfig to fix build error which would
be introduced by this bump.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Peter: mark as security bump, describe the relation with urllib3]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit fe5dcf402c)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:55:54 +01:00
Thomas Petazzoni
c16034f1de support/dependencies: improve error message
"Fix you PATH" not only has a typo, but isn't very clear. Turn it into
"Fix your PATH environment variable".

Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/151
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f59bf34164)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:55:39 +01:00
Bernd Kuhls
701e9685f7 package/python-fonttools: security bump version to 4.61.0
https://github.com/fonttools/fonttools/releases/tag/4.61.0

Fixes CVE-2025-66034:
https://github.com/fonttools/fonttools/security/advisories/GHSA-768j-98cg-p3fv

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit b0aa7e5a23)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:55:19 +01:00
Bernd Kuhls
cdbd1f62fc package/python-fonttools: bump version to 4.60.1
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1e7fc05e86)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:55:15 +01:00
Marcus Hoffmann
74f45d4d98 package/python-urllib3: security bump to 2.6.1
Version 2.6.0 fixes the following security issues:

* CVE-2025-66471 / GHSA-2xpw-w6gg-jr37 [1]:
  Fixed a security issue where streaming API could improperly handle
  highly compressed HTTP content ("decompression bombs") leading to
  excessive resource consumption even when a small amount of data was
  requested. Reading small chunks of compressed data is safer and much
  more efficient now.

* CVE-2025-66418 / GHSA-gm62-xv2j-4w53 [2]:
  Fixed a security issue where an attacker could compose an HTTP
  response with virtually unlimited links in the Content-Encoding header,
  potentially leading to a denial of service (DoS) attack by exhausting
  system resources during decoding. The number of allowed chained
  encodings is now limited to 5.

2.6.0 also contains the removal of a deprecated but apparently still
widely used API. 2.6.1 reintroduces this API. [3]

Full 2.6.0 Changelog: https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#260-2025-12-05

[1] https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37
[2] https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53
[3] https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#261-2025-12-08

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit e73101a0c3)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:54:38 +01:00
Nicolas Cavallari
765f70d59d package/libgit2: security bump version to 1.9.2
Fix two vulnerabilities related to SSH support:
* The external SSH execution code lacked shell quoting on repositories
  name, resulting in arbitrary command execution.
* SSH public keys were zeroed by calling memset with the wrong length,
  resulting in either buffer overflow or incomplete zeroing.

Release notes:
https://github.com/libgit2/libgit2/releases/tag/v1.9.2

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit c4debc9909)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:54:03 +01:00
Kadambini Nema
16fd8b6b35 package/libgit2: bump version to 1.9.1
Release notes:
https://github.com/libgit2/libgit2/releases/tag/v1.9.1

Signed-off-by: Kadambini Nema <kadambini.nema@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit c87d34badb)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:53:58 +01:00
Preyas
0c1ecdc34c package/pigz: switch site to HTTPS
Prefer HTTPS for source downloads.
No functional change; hashes unchanged.
Align comment in .hash and Config.in.

Signed-off-by: Preyas <preyas17@zohomail.in>
[Julien: also update Config.in package home page]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 638224b4e6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:53:16 +01:00
Bernd Kuhls
8782b81bf3 package/libxslt: security bump version to 1.1.45
Release notes:
https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.45.news

Fixes:
https://www.cve.org/CVERecord?id=CVE-2025-7424
https://www.cve.org/CVERecord?id=CVE-2025-9714
https://www.cve.org/CVERecord?id=CVE-2025-11731

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit bd57bf7129)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:52:38 +01:00
Bernd Kuhls
42b17eaa92 package/libpng: security bump version to 1.6.53
Release notes:
https://raw.githubusercontent.com/pnggroup/libpng/v1.6.53/ANNOUNCE
https://raw.githubusercontent.com/pnggroup/libpng/v1.6.52/ANNOUNCE

Version 1.6.52 fixed CVE-2025-66293 (high severity).

Fixes:
https://www.cve.org/CVERecord?id=CVE-2025-66293

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 52f83ccfbc)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 16:52:16 +01:00
Bernd Kuhls
256befeb42 package/cmake: bump version to 3.31.9
Fixes build error with libcurl 8.16.0 introduced by buildroot commit
fb5fb06ee5

Fixes:
https://autobuild.buildroot.net/results/92b/92b1ed36e750d9ad756793814f9d1133bda0e013/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 33159bb6cc)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-14 18:20:33 +01:00
Bernd Kuhls
6829a555b3 package/rdesktop: fix build error
Fixes:
https://autobuild.buildroot.net/results/8ad/8ad5d33f726fe57910a70df7c8f40a9568c2dfa7/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 7bd818a067)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:21 +01:00
Bernd Kuhls
0161403b86 package/racehound: switch project site
Previous repo is unavailable, switch to fork.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 655accbfea)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:19 +01:00
Thomas Perale
10fee753bb support/scripts/cve-check: don't fail with unknown CVE
The NVD database has CVE entries that are not present but may be
referenced in other security trackers.

For instance the CVE-2024-12455 is documented in the Debian security
tracker [1]. However, the NVD page is empty [2] and this entry is not
present in the NVD database mirror.

The following command would make the script fail:

```
echo '{
  "vulnerabilities": [
    {
      "id": "CVE-2024-12455"
    }
  ]
}' | support/scripts/cve-check --enrich-only
```

No CVEs present in Buildroot ignored CVEs are affected. But when
enriching an SBOM with legitimate CVE not present on NVD, the script
will fail.

This patch change the behavior to just log to stderr unknown CVEs
instead of making the script fail.

[1] https://security-tracker.debian.org/tracker/CVE-2024-12455
[2] https://nvd.nist.gov/vuln/detail/CVE-2024-12455

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
[Peter: Tweak warning message]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit fa7fac0985)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:17 +01:00
Thomas Perale
03bc288c6b support/scripts/cve-check: fix typos and grammar
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8b740cee42)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:14 +01:00
Thomas Petazzoni
bf19b074ec package/glibc: use DESTDIR instead of install_root to fix build issue
Building a simple configuration such as:

BR2_aarch64=y
BR2_FORCE_HOST_BUILD=y

Under our reference Docker container, as an out-of-tree build:

./utils/docker-run make O=output-test

will fail during the glibc staging installation step with:

/usr/bin/install -c -m 644 /home/thomas/buildroot/br/output-glibc/build/glibc-2.42-3-gbc13db73937730401d592b33092db6df806d193e/build/libc.a /usr/lib64/libc.a
/usr/bin/install: cannot create regular file '/usr/lib64/libc.a': Permission denied

The problem being that the install_root variable is for some reason
lost along the way. We definitely pass it during the staging
installation step, but then glibc calls a sub-make and in that
submake, install_root is empty.

Observations:

- Building the same configuration inside the Docker container, but
  in-tree, doesn't exhibit the problem.

- Building outside of the Docker container, but with the same make
  version as the one we build due to BR2_FORCE_HOST_BUILD=y doesn't
  exhibit the problem.

However, it turns out that glibc sets install_root to $(DESTDIR). And
passing DESTDIR just works. So we drop our custom
GLIBC_INSTALL_STAGING_OPTS to rely on the default one, and this fixes
the problem. It's not extremely satisfying to not fully understand
what's going on, but after spending quite some time on this, and
having a trivial and actually pretty nice workaround, we simply
propose to use this solution.

There is no autobuilder issue as we're not using our Docker container
to do autobuild builds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 3ce3e04d02)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:12 +01:00
Alexis Lothoré
afdebefb0b package/libdbi: fix small typo in Config.in
When browsing the available Database packages, libdbi appears in the
menuconfig as "lidbi".

Fix the menuconfig entry by updating the relevant boolean name.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 4d016a1d98)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:10 +01:00
Peter Korsgaard
1c44a81679 package/dmraid: switch SITE to https
The http link is broken:

Connecting to people.redhat.com (people.redhat.com)|209.132.178.26|:80...
 failed: No route to host.

No autobuilder error recorded.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 3b04688e7f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:08 +01:00
Bernd Kuhls
8aa28cd0e8 package/audit: switch SITE to https
The http link is broken:

Connecting to people.redhat.com (people.redhat.com)|209.132.178.26|:80...
 failed: No route to host.

No autobuilder error recorded.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 80f8be48b6)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:06 +01:00
Bernd Kuhls
081203958b package/mosh: update SITE
Old URL returns 404, update SITE according to https://mosh.org/

Fixes:
https://autobuild.buildroot.net/results/c1c/c1cf4568c82deb118aad0171bda356c7f59f17dd/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 9c12266739)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:04 +01:00
Bernd Kuhls
e79d30584b package/ficl: update SITE
Upstream moved the tarball to another folder:
https://sourceforge.net/p/ficl/news/2025/07/ficl4-is-retiring/
and also retired the package.

This patch just fixes the download problem.
CC'ing Francois to ask whether the package should be removed until a new
version 3.x is released.

Fixes:
https://autobuild.buildroot.net/results/125/125fa1c0a3b37b4d09389a49640b90121838c665/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f2b5cdf5a3)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:02 +01:00
Bernd Kuhls
14d874c73d package/x11r7/xdriver_xf86-video-intel: update SITE
Updated URL of git server, tarball hash is unchanged.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8c2947eaa5)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-11 10:22:00 +01:00