Skip to content
OpenAdvisories

Product · GNU

Emacs

7 known vulnerabilities.

4 results · Clear filters · Feed

  • Medium 5.3

    Heap Use of Uninitialized Memory in GNU Emacs for Android

    GNU Emacs for Android improperly validates the table header input in sfnt_read_table_directory() in src/sfnt.c. Due to an incorrect comparison variable in the read-length check, a crafted font file that claims to contain more table directory entries than actu…

  • Medium 5.3

    Heap Buffer Overflow in GNU Emacs for Android

    GNU Emacs for Android is vulnerable to an integer overflow in sfnt_read_name_table() in src/sfnt.c. The function computes an allocation size using a 32-bit length value from a TrueType font file without overflow checking. On 32-bit targets, a crafted font cau…

  • Medium 5.3

    Integer Overflow in GNU Emacs for Android

    GNU Emacs for Android is vulnerable to an integer overflow in the sfnt_read_cmap_format_12() function in src/sfnt.c. When processing a crafted TrueType font file, an unguarded addition in the xmalloc allocation call wraps around on 32-bit builds, causing a he…

  • Medium 5.3

    Off-by-One Error in GNU Emacs for Android

    GNU Emacs for Android contains an off-by-one error in the gvar table parser in src/sfnt.c. The shared-coordinate index boundary check in sfnt_vary_simple_glyph() and sfnt_vary_compound_glyph() uses a strict greater-than comparison instead of greater-than-or-e…