R 4.6.2
R 4.6.2 was released on October 29, 2026. Unlike the feature-bearing 4.6.1 that preceded it, this is a bug-fix release only, and the official NEWS file lists no new features. The fixes cluster around crashes, overflow and garbage-collection safety in the C internals, with a short separate Windows section.
The release matters because several of the entries repair segfaults in ordinary statistical functions, not exotic edge cases. Anyone running long-lived R sessions, or R embedded inside a service, should treat 4.6.2 as a required patch.
Crash and memory-safety fixes
The largest group of changes removes ways to crash the interpreter:
besselI(1, 1e11)andbesselK()now warn and returnNaNinstead of typically segfaulting (PR#19175, reported by Ben Bolker).besselK(1, -1e11)and similar now warn about an oversized magnitude ofnurather than crashing (PR#19196, Adam Berkeš).ksmooth(x, y, x.points=NULL)returns an empty pair instead of crashing (PR#19153), and further out-of-bounds writes inksmoothwith zero-length inputs are closed (PR#19171, PR#19219).text.default(.., col = numeric(0))no longer segfaults in instrumented builds (PR#19178), credited to Jiang Yuancheng's fuzzing work and Ivan Krylov.KalmanLike(1:5, list(1,2))no longer segfaults (PR#19217), andpredict(smooth.spline(..), deriv = -99)now errors instead of crashing (PR#19190).strsplit(str, perl=TRUE, bytes=TRUE)no longer reads invalid memory on malformed UTF-8 input (PR#19212), andisoreg(numeric(0))no longer returns an unallocated component (PR#19224). Both were reported by Kevin Ushey.
Overflow and PROTECT corrections
rhyper(N, m, n, k) switches to its large-scenario path once m + n exceeds .Machine$integer.max, which removes an integer overflow reported on R-devel by Jonathan Blood. dim(a) <- vec now checks when prod(vec) is too large (PR#19109), writeChar() counts characters and bytes consistently in multibyte locales (PR#19112), and a PROTECT() call was added in SubassignTypeFix (PR#19110).
Two internal changes target lifetime bugs: wrappers now duplicate a possibly shared object before returning a read-only pointer, preventing cached read-only pointers from going stale, and long error messages are protected from premature garbage collection (PR#19210). A rarely triggered bad access from <matrix>[[i, j]] with negative i is also fixed (PR#19116).
Parsing, help and statistics
Plain-text help via Rd2txt again recognizes paragraphs that start with a non-indented Rd comment, fixing a regression introduced back in R 4.4.0. seq.int handles non-vector along.width arguments properly (PR#19100), dummy.coef() is more robust to non-syntactic variable names (PR#18468), and influence.measures() was brought back in line with dffits(), dfbetas() and covratio() (PR#19167).
Several time-parsing bugs were cleaned up: strptime() now disregards contiguous digits in %OS<n>, returns NA for out-of-range %OS, and handles strptime("0", "%w") correctly in the C locale. wilcox.test(..., exact=TRUE) no longer suffers severe cancellation when the p-value sits near 0 or 1 (PR#19144).
Windows and build notes
On Windows, path.expand("~") now works when the user name is not ASCII and neither %HOME% nor %USER% is set (PR#18949), and file.copy(*, date=TRUE) no longer opens files for exclusive access when copying timestamps. make check-devel now runs without recommended packages, R CMD rtags tolerates a bad escape setting under bash or busybox, and C23 strchr/strrchr/strstr const behaviour is accounted for in the parsers.
Upgrade with your platform's usual package path, or from CRAN source. Binary builds for the major platforms follow shortly after the source tarball.