Skip to content

fix(security): except the libxml2 batch and re-date the curl + openssl block - #1638

Merged
c-vigo merged 3 commits into
devfrom
bugfix/1636-vulnix-libxml2-batch
Sep 16, 2026
Merged

c-vigo merged 3 commits into
devfrom
bugfix/1636-vulnix-libxml2-batch

Conversation

@c-vigo

@c-vigo c-vigo commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Reconciles the vulnix exception register against the 2026-09-16 scan. Four
issues, two incidents, one reconciliation pass over one file.

Incident A -- nightly red (#1636 dev / #1637 main)

A feed event, not a closure change. The 09-15 run (34954313210) was green on
the same pin the 09-16 run (35080687787) failed on, and the findings delta is
8 added / 0 removed against exactly one package, no expiry fired: the
libxml2 CVE-2026-8613x/-8614x batch reached the NVD feed in that window.

Only CVE-2026-86140 crosses the gate's 7.0 threshold and takes an entry. The
other seven score 2.9-6.9 and are deliberately left out, as the glibc block
already does for its own sub-threshold pair.

The defect is a strcat stack overflow in xmlSnprintfElements (valid.c),
reachable only while formatting a validity error for a DTD-validated document.
NVD scores it 8.0 and the NIST analyst 7.8, both local-vector. libxml2 is
transitive here, and nothing in the image validates untrusted XML against a DTD.

Incident B -- expiry warning (#1634 main / #1635 dev)

The 2026-09-23 slot is the curl 8.21.0 + openssl 3.6.3 block. Re-verified
rather than assumed: all 16 entries are still live findings against the
09-16 scan on both refs, so nothing is dead weight and nothing is deletable.

Re-dated to 2026-10-21. What changed is the estimate of when the lever lands,
not the assessment -- see below.

The finding that ties them together

All three packages ride one nixpkgs lever:

package pinned fixed in release-26.05 staging-next-26.05
curl 8.21.0 8.22.0 ❌ 8.21.0 ✅ 8.22.0
openssl 3.6.3 3.6.4 ❌ 3.6.3 ✅ 3.6.4
libxml2 2.15.3 2.15.4 ❌ 2.15.3 ✅ 2.15.4

A single open PR -- NixOS/nixpkgs#563094, staging-next-26.05 iteration 7 --
clears all three. Advancing the pin today changes nothing.

Why the 09-23 block was re-dated instead of left to die on remediation: the
block's own note bet on the 2026-09-21 advance, which assumed iteration 7
landing first. It opened 2026-09-14 and is still open; the iteration cadence
(iter 5 merged 08-18, iter 6 merged 09-05) projects the next merge to ~09-23,
after Monday's advance, with the nixos-26.05 channel trailing
release-26.05 by about a day on top. Holding 09-23 would most likely have
lapsed the block on 09-24 -- and check-expirations runs in ci.yml, not just
the nightly lanes, so that takes every open PR red (the #1547 failure mode).

The new block takes its own Wednesday (10-28) rather than joining the slot it
shares a lever with: co-dating would put 17 entries on one date and re-create
the single-Wednesday cliff the #1553 stagger broke up.

Grid after this PR -- one block per Wednesday, all six verified to land on a
Wednesday:

09-30  lower-reachability             (5)
10-07  fzf                            (2)
10-14  glibc                          (6)
10-21  curl 8.21.0 + openssl 3.6.3   (16)   <- moved
10-28  libxml2 CVE-2026-86140         (1)   <- new
2027-06-23  Class-1 shellcheck        (1)

All three blocks now share one exit condition and should be deleted together
on the advance that ships the fixed versions -- not renewed.

Verification

  • vulnix-gate replayed against both scan artifacts with the edited register:
    green on both refs (31 exceptions applied).
  • check-expirations: 31 exceptions validated.
  • Every Expiration: date confirmed to fall on a Wednesday.
  • just precommit (full suite, --all-files): green.

Issue closure

#1635 and #1636 (dev) close on the replay evidence. #1634 and #1637
(main) stay open
: update-nixpkgs.yml targets dev only and
prepare-hotfix.yml is not on main yet, so main's register only moves via a
release train -- the #1592 precedent.

Refs: #1634, #1635, #1636, #1637

… register

The nightly vulnix gate went red on both refs on 2026-09-16. This is a feed
event, not a closure change: the 09-15 run (34954313210) was green on the same
pin the 09-16 run (35080687787) failed on, and the findings delta is 8 added /
0 removed against exactly one package, with no expiry fired.

Only CVE-2026-86140 crosses the gate's 7.0 threshold; the other seven CVEs in
the batch score 2.9-6.9 and are deliberately left out of the register. The
defect is a strcat stack overflow in xmlSnprintfElements (valid.c), reachable
only while formatting a validity error for a DTD-validated document, and both
NVD (8.0) and the NIST analyst (7.8) score it local-vector. Nothing in this
image validates untrusted XML against a DTD.

The fix, libxml2 2.15.4, is in staging-26.05 and staging-next-26.05 but not in
release-26.05 or the pinned nixos-26.05, so advancing the pin today changes
nothing. It rides the same open staging-next-26.05 iteration-7 PR
(NixOS/nixpkgs#563094) as curl 8.22.0 and openssl 3.6.4, so all three blocks
should clear in one advance and be deleted together rather than renewed.

The block takes its own Wednesday (2026-10-28) rather than joining the
curl+openssl slot it shares a lever with: co-dating would put 17 entries on one
date and re-create the single-Wednesday cliff the #1553 stagger broke up.

Refs: #1636, #1637
The T-7 expiry warning fired as the grid intends. The review it forced was a
re-verification, not a date bump: all 16 entries were checked against the
2026-09-16 scan (run 35080687787, both lanes) and every one is still a live
finding, since the closure still ships curl 8.21.0 and openssl 3.6.3. Nothing
in the block is dead weight and nothing is deletable yet.

What changed is the estimate of when the remediation lever lands. The block's
2026-09-14 note bet on the 2026-09-21 weekly advance, which assumed
staging-next-26.05 iteration 7 reaching release-26.05 first. It has not:
nixpkgs#563094 opened 2026-09-14 and is still open, and the iteration cadence
(iteration 5 merged 2026-08-18, iteration 6 merged 2026-09-05) projects the
next merge to roughly 09-23 -- after Monday's advance, with the nixos-26.05
channel trailing release-26.05 by about a day on top of that.

Holding 09-23 would therefore most likely have lapsed the block on 09-24, and
check-expirations runs in ci.yml as well as the two nightly lanes, so a lapse
takes every open PR red rather than just the scan lanes. 10-21 clears the
projected landing by four weeks and two further weekly advances, and keeps the
block on its own Wednesday.

Scheduling adjustment only: no risk assessment was re-opened or changed, and
the exit condition stands -- the block dies on the advance that ships curl
8.22.0 and openssl 3.6.4, the same advance that clears the libxml2 block.

Refs: #1634, #1635
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant