Repository navigation
fix(security): except the pcre2 JIT incorrect-free in the vulnix register - #1649
Merged
Merged
Conversation
…ster The nightly vulnix gate went red on both refs on 2026-09-17. Like the libxml2 batch the day before, this is a feed event and not a closure change: the 09-16 run (35080687787) reported no advisory at all against pcre2 and the 09-17 run (35207126776) shows 6 added / 0 removed against that single package, with no expiry fired and the pin untouched. CVE-2026-89161 was published 2026-09-11 and reached the NVD feed in that window. Only CVE-2026-89161 crosses the gate's 7.0 threshold; the five siblings score 2.9-6.5 and are left out of the register, as the glibc and libxml2 blocks already do for theirs. The defect is a CWE-590 incorrect free in pcre2_jit_match when a previously copied subject is passed in as a match context; vulnix gates on MITRE's 7.4 and the NIST analyst scores it 7.8, both local-vector. nix why-depends gives one path and one hop -- devcontainer-image-env -> ripgrep 15.1.0 -> pcre2 -- so `rg -P` on a local search is the whole exposure surface. Whether ripgrep's grep-pcre2 binding can reach the affected calling pattern was not verified, so the entry accepts that ceiling rather than claiming unreachability. The pinned nixpkgs applies no patches to pcre2, so this is a true version match rather than vulnix over-reporting, and the remediation lever is the one three blocks are already waiting on: 10.48 landed on staging-next-26.05 on 2026-09-05 while release-26.05 still ships 10.46. Four packages now ride one branch hop and all four blocks should be deleted, not renewed, when it lands. Dated 2026-11-04 -- one Wednesday past the libxml2 block, so a stalled review of one does not carry the other. Refs: #1645
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fills the seeded
## [1.15.1] - TBDsection of the hotfix branch and clears the2026-09-17 nightly red on both refs. One file of substance, one CVE.
Closes the gate half of #1645 (dev) / #1637 (main).
The incident
A feed event, not a closure change — the same shape as the libxml2 batch the
day before:
35080687787)35207126776)CVE-2026-86140CVE-2026-8916121a67dc421a67dc4(unchanged)CVE-2026-89161was published 2026-09-11 and reached the NVD feed in thatwindow. Delta is 6 added / 0 removed against exactly one package, no expiry
fired.
Why one entry, not six
Only
CVE-2026-89161crosses the gate's 7.0 threshold. The siblings —-89156(2.9),-89157(5.7),-89158(6.5),-89160(3.7),-89162(2.9) —are deliberately left out, as the glibc and libxml2 blocks already do for theirs.
The assessment
CWE-590 incorrect free in
pcre2_jit_matchwhen a previously copied subject ispassed in as a match context. vulnix gates on MITRE's 7.4
(
AV:L/AC:H/PR:N); the NIST analyst scores the same defect 7.8(
AV:L/AC:L/PR:L). Both local-vector.nix why-dependsgives one path, one hop:So
rg -P/rg --pcre2on a local search is the entire exposure surface — nodaemon, no service, no untrusted input path. Whether ripgrep's
grep-pcre2binding can actually produce the affected calling pattern was not verified;
the entry accepts that ceiling rather than claiming unreachability.
main's closure additionally carries pcre2 10.47 — also below the 10.48 fix, andone entry keyed by CVE id covers both derivations.
Not vulnix over-reporting: the pinned nixpkgs applies no patches to pcre2
(
pcre2.patchesevaluates empty), so this is a true version match.One lever, now four passengers
release-26.05staging-next-26.05pcre2 10.48 landed on
staging-next-26.05on 2026-09-05 (nixpkgs6c02c72fd);release-26.05is still on 10.46, unchanged since 2025-08-29 — it has not eventaken the by-name move — so advancing the pin today changes nothing. All four
blocks die on the same advance and should be deleted, not renewed.
Dated 2026-11-04: one Wednesday past the libxml2 block rather than on it, so
a stalled review of one does not carry the other with it.
Verification
Full
just precommitgreen (52 hooks), mirror regenerated bysync-manifest.Refs: #1645