[Bioc-devel] Private report: ancestrymap SNP-name buffer overflow in LEA

OLIVIER FRANCOIS o||v|er@|r@nco|@ @end|ng |rom un|v-grenob|e-@|pe@@|r
Tue Nov 10 10:19:42 CET 2026


Dear Hong, 

Thank you very much for reporting the buffer overflow vulnerability in LEA and for providing a reproducible example. 

We confirmed the issue and identified a second vulnerable code path in the ANCESTRYMAP conversion routines. Both have now been fixed, and the corrections have passed regression tests and AddressSanitizer checks. 

The fix has been committed and pushed to the Bioconductor development branch (LEA 3.25.1) and is also available on GitHub (bcm-uga/LEA). 

We have also prepared and validated a backport for the current release branch (`RELEASE_3_23`, LEA 3.24.1). However, the push to Bioconductor was rejected with the following message: 

`remote: FATAL: W refs/heads/RELEASE_3_23 packages/LEA olivier.francois DENIED by fallthru` 

To the Bioconductor team (cc): Could you please advise on the appropriate procedure for publishing this security fix to the release branch, or whether additional write permissions are required? 

We are also reviewing related input-validation issues in other conversion routines. 

Thank you again Hong, for bringing this issue to our attention. 

Best regards, 

Olivier François 



De: "Qin, Hong" <hqin using odu.edu> 
À: "Olivier Francois" <olivier.francois using grenoble-inp.fr> 
Envoyé: Mardi 10 Novembre 2026 06:12:15 
Objet: Private report: ancestrymap SNP-name buffer overflow in LEA 



Hello Olivier Francois, 

I am writing to alert you to an ancestrymap name-buffer overflow in LEA identified during our source-verification study. 

We used OpenAI Codex and Anthropic Claude for source analysis, reproduction harnesses, and review of saved test results. Claude designed and ran the static scan; Codex and Claude assisted with verification and source and log audits. 

In version 3.23.0 (Git revision f812da2d3aae5456f0f17776f6ea64fd1de91e88 ), read_line_ancestrymap copies the SNP-name field with strcpy into a 512-byte buffer at src/convert/ancestrymap.c:160. Input lines can occupy a larger, 1,000-byte buffer. A saved AddressSanitizer test with a 600-character name records a stack-buffer overflow with a 601-byte write. 

Testing built the package native sources, ran the initializer, and invoked the registered .C entry R_ancestrymap2geno. An unchanged-source adapter reproduced the same copy error. The complete installed-package R workflow has not been tested. 

Source comparisons found the relevant native source unchanged in development version 3.25.0 and inspected release versions 3.22.0 and 3.24.0. 

Best regards, 
Hong Qin 
Old Dominion University 



	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list