News for hackers. Stuff that matters.
Re:Preview in macOS Big Sur is destroying PDFs by dvfjsdhgfv on Wednesday December 16, 2020 @04:24PM (#25448907)
Re:Preview in macOS Big Sur is destroying PDFs by tjohns on Wednesday December 16, 2020 @04:44PM (#25449181)
Having vulnerabilities is never great. However, this is a separate issue from whether the PDF reader explicitly allows code execution or supports some of the more obscure PDF extensions, which is what the parent was talking about.
Re:Preview in macOS Big Sur is destroying PDFs by dec0dedab0de on Wednesday December 16, 2020 @05:13PM (#25449497)
isnt including fonts basically code execution in and of itself?
Re:Preview in macOS Big Sur is destroying PDFs by junon on Wednesday December 16, 2020 @05:16PM (#25449537)
Aside from potential vulnerabilities (bugs), no. Font formats are declarative. The various tables that define conditionals et al have no ability to run arbitrary code, and certainly do not have any concept of scripting and the like.
Re:Preview in macOS Big Sur is destroying PDFs by dialamac on Wednesday December 16, 2020 @05:44PM (#25449804)
Ttf has bytecode for a stack interpreter with conditionals and loops (jump instructions and loop all). That’s declarative in the sense that all code is data, but i would say it is imperative.
Re:Preview in macOS Big Sur is destroying PDFs by junon on Tuesday December 22, 2020 @05:25AM (#25504822)
Yes but it is a strict set of very limited codes, nothing which gains access to the machine a la syscalls.
Re:Preview in macOS Big Sur is destroying PDFs by cratermoon on Wednesday December 16, 2020 @10:06PM (#25451939)
Re:Preview in macOS Big Sur is destroying PDFs by junon on Tuesday December 22, 2020 @05:23AM (#25504814)
First line says "except vulnerabilities".