Re:Font with Built-In Syntax Highlighting
by iFreilicht on Thursday August 15, 2024 @11:54AM
(#41257444)
This makes me curious; have there ever been security exploits that utilized the font rendering as an actual attack vector? To me it feels like font rendering should be pure (in the functional sense) and thus have no side-effects, but of course that doesn't mean anything in practice.
Re:Font with Built-In Syntax Highlighting
by bean-weevil on Thursday August 15, 2024 @12:59PM
(#41258109)
Yes, pretty disastrously: https://kb.cert.org/vuls/id/354840/
As you have guessed, this used a rendering feature that was not pure.
Edit: Perhaps this is a reminder that custom fonts are a potential attack vector for security-sensitive websites since font rendering runs highly-complex programs, probably in a language that isn't memory safe.