bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-89158

6.5medium

pcre210.46 · 10.44in 4 of 4 releases

Reach pcre2 · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer overflow and resultant out-of-bounds write.

Published 2026-09-11NVD

CVSS 3.1Network · no privileges · no user interaction

How it is reached

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None

What it costs

Confidentiality
None
Integrity
High
Availability
Low
Scope
Unchanged

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L

References 2
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

CVE-2026-89158 is an integer overflow in pcre2_compile_32, i.e. the 32-bit code-unit library libpcre2-32, on 32-bit platforms.

This build compiles pcre2 10.46 with --disable-pcre2-32 (and --disable-pcre2-16), so only libpcre2-8 is produced; no libpcre2-32 objects exist in the target build directory and the generated Makefile comments out libpcre2-32.la.

The target is also 64-bit x86_64 (BR2_ARCH_IS_64=y), so neither reading of "32-bit platforms" applies.

The vulnerable code is not compiled into the image; reachability is moot.

Evidence 10
  1. Target configure opts: --enable-pcre2-8, and --disable-pcre2-32 unless BR2_PACKAGE_PCRE2_32 is set

    buildroot/package/pcre2/pcre2.mk:19-21

  2. BR2_PACKAGE_PCRE2=y, BR2_PACKAGE_PCRE2_16 and BR2_PACKAGE_PCRE2_32 not set

    output/.config:3057-3059

  3. Actual configure line for target: --enable-pcre2-8 --disable-pcre2-16 --disable-pcre2-32 --disable-jit, host=x86_64-buildroot-linux-gnu

    output/build/pcre2-10.46/config.log:7

  4. WITH_PCRE2_32_TRUE='#', enable_pcre2_32='no'

    output/build/pcre2-10.46/config.log:1628,1663

  5. am__append_2 = libpcre2-8.la; libpcre2-16.la and libpcre2-32.la are commented out of lib_LTLIBRARIES

    output/build/pcre2-10.46/Makefile:101-103

  6. Only libpcre2_8_la-pcre2_compile.lo exists; no libpcre2_32_la-* objects or libpcre2-32.so were built for the target

    output/build/pcre2-10.46/src/ (find)

  7. BR2_ARCH_IS_64=y, BR2_ARCH="x86_64" - the target is a 64-bit platform, not a 32-bit one

    output/.config:24,52

  8. 32-bit-code-unit-specific compile paths (PCRE2_CODE_UNIT_WIDTH == 32) that are only compiled into libpcre2-32, which this build does not produce

    output/build/pcre2-10.46/src/pcre2_compile.c:1945-1954

  9. Empty (0 lines): no Buildroot patches applied; source is pristine 10.46, so no backported fix - exclusion relies on the feature not being built

    output/build/pcre2-10.46/.applied_patches_list

  10. host-pcre2 adds --enable-pcre2-16 only (not -32); host tools are not shipped in the image anyway

    buildroot/package/pcre2/pcre2.mk:35

Version and patches

Affected range per NVD: PCRE2 before 10.48; fixed in 10.48. Tree contains pristine 10.46 with no patches applied (.applied_patches_list is empty), so the upstream fix is not present. However the affected component (pcre2_compile_32 / libpcre2-32) is not compiled: --disable-pcre2-32 in config.log:7, and the target is 64-bit x86_64. The upstream advisory GHSA-fmgr-6ggq-9859 could not be fetched (no network); the assessment relies on the CVE description naming pcre2_compile_32 and "32-bit platforms".

Recommendation

Document as N/A for this x86_64 build (32-bit code-unit library not built, 64-bit target). Consider bumping pcre2 to 10.48 at the next routine Buildroot update; re-check this finding if BR2_PACKAGE_PCRE2_32 is ever enabled or a 32-bit (e.g. armv7) Infix target is added.

Open questions

The GHSA advisory and fix commit were not accessible from the tree, so the exact vulnerable hunk could not be cited; the conclusion rests on the CVE text explicitly scoping the flaw to pcre2_compile_32 on 32-bit platforms. If the advisory turns out to also cover the 8-bit library on 64-bit hosts, this review should be revisited.

Members of Kernel Kit decide. Sign in if you are one.