How many days pass between a CVE going public and your Linux distribution shipping the fix? patchlag answers that for Debian, Ubuntu and RHEL. It takes CISA's catalog of actively exploited vulnerabilities and every kernel.org CVE, and joins them with each distro's own machine-readable security data. Package archives date when a fix actually reached users. The delays are estimated with survival analysis, so a CVE that is still unfixed counts as still unfixed rather than being dropped.
Headline (data as of 2026-11-09). Take the 3,870 Linux kernel CVEs published since Debian 13 came out that both Debian 13 and Ubuntu 24.04 LTS were exposed to:
Debian 13 shipped a fix in a median of 12 days and fixed 78% within a month.
Ubuntu 24.04 took 109 days and fixed 0% within a month.
Where both fixed the same CVE, Ubuntu was later 1,363 times out of 1,387.
Many of those CVEs are recent (median follow-up 79 days). On the 1,597 published before August 2026 the medians are 15 and 104 days.
For actively exploited CVEs the gap is smaller and the samples are small. On the 29 that both Debian 12 and Ubuntu 24.04 were exposed to, the medians are 9 and 22 days.
Why now: CVE-2026-98432, a use-after-free in the kernel's IPv4 TCP code, was disclosed on 15 October. Debian 13 shipped the fix on 16 October and Debian 12 on 17 October. On 9 November no fix has reached users of any supported Ubuntu release; Canonical's tracker shows fixes for 22.04, 24.04 and 26.04 as pending , built but not yet released. patchlag asks whether that is one bad month or the usual pattern. For the kernel, it is the usual pattern.
Python 3.10 or newer. No dependencies.
report output, complete and unedited:
The matched comparisons (section 1) and the per-release tables (sections 3 and 4) use different CVE sets, which is why Debian 13's kernel median is 12 days in one and 13 in the other. "Exposures" are (CVE, release) pairs that the distro's own tracker lists as affected and still vulnerable on the day the CVE went public. Ubuntu shows more kernel exposures than Debian because Debian already had more of the fixes before the CVEs were published (see "What is excluded").
Kernel: Debian ships in days, Ubuntu in months. The matched comparison takes CVEs published after both releases existed that both trackers list as exposed at disclosure, with unfixed ones censored. On those, Debian 13's median is 12 days and Ubuntu 24.04's is 109. Debian 12 against Ubuntu 22.04 gives 28 days against 81. Among CVEs both fixed, Ubuntu 24.04 was later than Debian 13 on 1,363 of 1,387 (median gap +77 days). That pairing understates the gap, because it leaves out CVEs Debian fixed and Ubuntu still has open.
Ubuntu does not ship less often; each update carries older fixes. In the last year, the main kernel package got a CVE fix on 20 distinct days for Debian 13 and 20 for Ubuntu 24.04, with a median gap of 14 and 16 days. So the cadence is the same and the latency is not. This fits how the two kernels are built. Debian 13 tracks upstream's 6.12 long-term series, where fixes arrive already backported. Ubuntu 24.04's 6.8 kernel is not an upstream long-term series, so Canonical backports each fix itself and runs it through its multi-week SRU testing cycle. patchlag measures the delay; it does not test that explanation.
Both older releases stall. Debian 12 starts fast but flattens: 81% fixed after a year, with 1,892 kernel CVEs still open for bookworm. Bookworm left regular security support in June 2026 and is now maintained by Debian's LTS team, so this is a support-phase effect as much as a speed one. Ubuntu 22.04 flattens the same way, at 79% with 2,452 open. Ubuntu 24.04 starts slowly but keeps going and reaches 96% after a year.
Exploited CVEs: smaller gap, small samples. Browsers are left out (see below). On the 29 exploited CVEs both Debian 12 and Ubuntu 24.04 were exposed to, the medians are 9 and 22 days (log-rank p=0.03). Against RHEL 9 the differences are not significant: Debian 12 at 10 days vs RHEL 9 at 16 (n=31, p=0.2), and Ubuntu 24.04 at 35 vs RHEL 9 at 22 (n=23, p=0.5).
CISA's listing often arrives before the fix. When CISA added a CVE to KEV, confirming exploitation, the release had not shipped a fix yet in 18 of 51 cases on Debian 12, 23 of 39 on RHEL 9 and 17 of 31 on Ubuntu 24.04.
Browsers are fast where they are packaged. Debian ships Chromium and Firefox ESR fixes for exploited CVEs in a median of 2 days, and RHEL 8 in 4. Ubuntu ships them as snaps, which its security tracker does not cover, so browsers are excluded from every cross-distro number above.
7 exploited CVEs have no fix in any non-browser package on a supported release (11 CVE-release pairs). The tracker's own state is printed to each package. ActiveMQ (CVE-2026-34197, public for 216 days) is plainly open on Debian 12 and 13. For WebKitGTK (CVE-2026-3909, 241 days) the distros have mostly decided not to fix: end-of-life on Debian 12 (whose Chromium did get the fix), ignored on Ubuntu 22.04 and deferred on 24.04.
Unit of analysis. One observation is a (CVE, release, source package) that the distro's tracker lists as affected. Kernel CVEs use the main kernel package only: linux on Debian and Ubuntu, without Ubuntu's dozen cloud, OEM and HWE flavours. For exploited CVEs, kernel flavours and browsers are dropped and packages are collapsed to one unit per (CVE, release), fixed when the release shipped its first fix, even if a sibling package (say qtwebkit to webkit2gtk) stays unfixed. On Ubuntu, entries that Canonical's CVE Tracker marks needs-triage , not-affected or DNE are dropped, and so are exploited CVEs the tracker has no file for (13 entries in all). Records their publisher has withdrawn are ignored everywhere.
Matched comparisons are the fair test between two releases. They use only CVEs published after both releases existed and listed by both trackers as exposed at disclosure, so neither side gets an easier mix or a longer window.
When is a CVE fixed? At the earlier of two dates. One is the advisory (DSA/DLA, USN, RHSA). The other is the day the fixed version reached an archive users pull from by default: -security / -updates on Ubuntu, from Launchpad's publishing history, and debian-security on Debian, from snapshot.debian.org. The second date matters. Ubuntu packages reach the archive a median of 5 days before their USN, and using USN dates would have penalised Ubuntu. A Debian fix that only appears in the main archive reached stable users at a later point release, so its upload date flatters Debian. Those fixes are flagged point-release , and a sensitivity run adds 60 days to each of them. Debian 13's kernel median moves from 13 to 15 days and Debian 12's from 29 to 37. The ranking does not change.
Unfixed is censored. A CVE still open on 2026-11-09, the download date, counts as "at least N days" in the Kaplan-Meier estimator ( patchlag/survival.py , written from scratch). Confidence intervals use Greenwood's variance with the log-log transform. Median intervals are read off the pointwise band. A curve is not read past the point where fewer than min(10, 5% of its exposures) remain under observation ( n/a in the tables), unless every exposure in that tail is already fixed.
What is excluded. CVEs published before a release existed are left out. So are fixes that shipped more than a day before the CVE was published (status pre ): the kernel CNA assigns many CVEs to fixes that are months old, and a release that already had the fix was never exposed. 12,762 observations fall in this group, mostly Debian kernel ones, because Debian follows upstream stable closely. Counting them as day-0 fixes instead would make Debian's kernel median 0. They are reported, not plotted.
bench/verify_joins.py checks random samples against a second source. What each check can show is spelled out, because not every second source is independent ( bench/verify_joins.md , seed 7, 30 per check):
Two kinds of date have no second source. Ubuntu archive dates come only from Launchpad, which is the archive's own publishing record. The 1,464 Debian fixes that reached stable through a point release are covered by the +60-day sensitivity run instead.
Design decisions and trade-offs
Stdlib only. The whole pipeline is plain Python: zip readers, joins, Kaplan-Meier, log-rank and the SVG chart. The numbers can be audited without trusting a stats package.
Committed data, reproducible offline. data/observations.csv (48,313 rows) holds every observation with its advisory, date source and fixed version, and report recomputes every table from it. Launchpad, snapshot and Ubuntu CVE Tracker lookups are cached in data/*.json , so a rebuild gives the same dates without hitting those services again.
Daily refresh. The Pages workflow rebuilds from the live sources every morning and publishes the site, so the site moves on while the numbers in this README stay a snapshot of 2026-11-09. If any source fails, the build stops before writing the site data, and the last committed data is published instead.
Only what the trackers say. "Affected", "fixed" and "not affected" are each distro's own judgment. A distro that marks CVEs "not affected" or "ignored" too easily looks faster than one that tracks them.
Live patching is not measured. Ubuntu Livepatch and RHEL kpatch can protect a running kernel before a package update ships.
Only the general-availability kernel is compared on Ubuntu 24.04. Many desktop installs run a newer HWE kernel (6.11 and later) instead.
RHEL is in the exploited-CVE cohort only. Its kernel CVE states come from a per-CVE API, and fetching 16,000 of them was out of scope. Exploited-CVE samples are small (12 to 66 per release), so their intervals are wide.
Arch, Alpine, Fedora and SUSE are not included. Their public data either has no fix dates (Alpine's secdb, Arch's tracker) or no machine-readable "still affected" state (SUSE's OSV export). Without that state, unfixed CVEs cannot be censored correctly.
Disclosure date is the earliest publication date in the kernel CNA, NVD-derived Debian or NVD-derived Ubuntu records. For kernel CVEs the fix is already in an upstream stable release by then, so the clock measures the distro's own delay. For other CVEs, upstream's delay is part of the number.
The OSV export of Debian advisories has no linux DSAs after March 2026. Those fixes are dated from debian-security uploads instead, which match the DSA list (verification above).
CISA Known Exploited Vulnerabilities catalog:
OSV.dev data exports (Debian, Ubuntu, kernel.org records):
Debian security tracker JSON:
Red Hat Security Data API:
Launchpad API, getPublishedSources :
Ubuntu CVE Tracker:
Debian DSA list:
snapshot.debian.org machine-readable interface:
Kaplan, E. L. and Meier, P. (1958). Nonparametric estimation from incomplete observations. JASA 53(282).
Kleinbaum, D. and Klein, M. Survival Analysis: A Self-Learning Text . The test suite reproduces its 6-MP worked example.
"Ubuntu still has not released patch for Linux 0day RCE in almost 3 weeks" (Hacker News, November 2026): and the article it links,
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
