Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
The heap math backend exports its radix alphabet as const char *mp_s_rmap: the characters are const but the pointer is writable. Code in the same process can repoint it, and mp_read_radix and mp_toradix index it over a fixed 64 entries without checking the length, which reads past a shorter replacement and corrupts conversions.
The heap math backend keeps its radix alphabet behind mp_s_rmap, a non-const global pointer exported by a public header. mp_read_radix and mp_toradix index it up to 64 entries without a length check, so in-process code that repoints it causes wrong conversions and reads past the replacement string. The fast math backend already keeps its copy of the table static.
// No embargoed advisories.