Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach pcre2 · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
PCRE2 before 10.49, when there is an attacker-controlled regular expression and certain JIT API usage, allows an out-of-bounds write with arbitrary data.
Published 2026-09-30NVD
CVSS 3.1Network · low privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
The CVE needs the PCRE2 JIT compiler, and this build has JIT switched off, so the vulnerable code is not compiled into the image. pcre2 10.46 is inside the affected range (before 10.49) and carries no patch, so the version match itself is correct.
The target library is configured with --disable-jit and SUPPORT_JIT is undefined, which reduces the JIT API entry points checked (pcre2_jit_compile(), pcre2_jit_match(), pcre2_jit_stack_create()) to stubs. The host build of pcre2 also has JIT off.
Confidence is medium only because I could not read the upstream advisory or fix commit (no network access). That the flaw is confined to JIT code rests on the CVE description's wording, "certain JIT API usage".
Evidence 11
`# BR2_PACKAGE_PCRE2_JIT is not set`: JIT is not selected, although the architecture supports it (`BR2_PACKAGE_PCRE2_JIT_ARCH_SUPPORTS=y` at line 3015).
output/.config:3016
`--enable-jit` is passed only when `BR2_PACKAGE_PCRE2_JIT=y`; otherwise `--disable-jit` is passed.
buildroot/package/pcre2/pcre2.mk:23
The target configure command line ends with `--enable-pcre2-8 --disable-pcre2-16 --disable-pcre2-32 --disable-jit`.
output/build/pcre2-10.46/config.log:7
`/* #undef SUPPORT_JIT */`: the JIT is not compiled into the target library. Line 249 confirms `PACKAGE_VERSION "10.46"`.
output/build/pcre2-10.46/src/config.h:310
Without `SUPPORT_JIT`, `pcre2_jit_compile()` just returns `PCRE2_ERROR_JIT_BADOPTION`. The sljit code generator include at line 85 sits after the `#ifdef SUPPORT_JIT` at line 54; I did not read the lines between to confirm it is inside that guard.
output/build/pcre2-10.46/src/pcre2_jit_compile.c:14054
Without `SUPPORT_JIT`, `pcre2_jit_match()` is a stub that only discards its arguments.
output/build/pcre2-10.46/src/pcre2_jit_match.c:95
Without `SUPPORT_JIT`, `pcre2_jit_stack_create()` returns `NULL`; the other JIT helpers in this file are likewise no-ops.
output/build/pcre2-10.46/src/pcre2_jit_misc.c:129
The file is empty (0 bytes), so no patches are applied, and `buildroot/package/pcre2/` contains only `Config.in`, `pcre2.hash` and `pcre2.mk`. The fix is therefore not backported; non-applicability rests on JIT being off.
output/build/pcre2-10.46/.applied_patches_list
The newest entry is `Version 10.46 27-August-2025`, so the source is plain 10.46 with no later fixes.
output/build/pcre2-10.46/ChangeLog:10
The host build is configured with `--enable-pcre2-16` and no `--enable-jit`; `output/build/host-pcre2-10.46/src/config.h:310` has `SUPPORT_JIT` undefined as well.
output/build/host-pcre2-10.46/config.log:7
`libyang` selects `BR2_PACKAGE_PCRE2`, as does `sysrepo` (`buildroot/package/sysrepo/Config.in:10`). I did not check `output/.config` to confirm these are what pull it into this image. Nothing under `buildroot/package`, `package` or `configs` selects `BR2_PACKAGE_PCRE2_JIT`.
buildroot/package/libyang/Config.in:6
Version and patches
Affected range per NVD is PCRE2 before 10.49; this build is 10.46, so it is in range and the CPE match is correct (not a false positive).
No fix is present: output/build/pcre2-10.46/.applied_patches_list is empty and buildroot/package/pcre2/ ships no patches.
The build is not affected because the vulnerable feature is not compiled: --disable-jit in output/build/pcre2-10.46/config.log:7 and SUPPORT_JIT undefined in output/build/pcre2-10.46/src/config.h:310.
The upstream advisory GHSA-r9hj-j2rw-4q3m and the fix commit could not be consulted.
Recommendation
Document as not applicable, on the grounds that the PCRE2 JIT is not compiled (BR2_PACKAGE_PCRE2_JIT unset, --disable-jit). No urgent upgrade or backport is needed.
Record the condition with it: the finding must be re-triaged if BR2_PACKAGE_PCRE2_JIT is ever enabled, or a package that selects it is added, while pcre2 is still below 10.49.
Pick up pcre2 10.49 or later with the next routine Buildroot bump.
Open questions
The upstream advisory and fix commit were not readable from this environment. Someone with network access should confirm in GHSA-r9hj-j2rw-4q3m that the fix touches only code guarded by SUPPORT_JIT (the pcre2_jit_* files or deps/sljit). If it does, confidence becomes high.
The defconfig path given in the brief, /mnt/worker/repos/kernelkit/infix/configs/aarch64_minimal_defconfig, lies outside the readable tree and was not inspected. The conclusion rests on output/.config and the build's own config.log and config.h, which reflect what was actually built.
Other defconfigs or product variants were not checked; this result applies to this build only.
Members of Kernel Kit decide. Sign in if you are one.