untrusted comment: verify with openbsd-79-base.pub RWTSdNN9A3yvWIv2BYeMcYF5wrzl+uk3XkE6kYjJ/AyIouceRRPILgS10c9Ci8d/fIvCAgsbTBwb6JK+JW5XJ7VZAKAnH/67NAc= OpenBSD 7.9 errata 055, November 19, 2026: Vulnerabilities in the X server side font and encoding libraries. CVE-2026-109908 CVE-2026-109909 CVE-2026-109920 Apply by doing: signify -Vep /etc/signify/openbsd-79-base.pub -x 055_xfontlibs.patch.sig \ -m - | (cd /usr/xenocara && patch -p0) And then rebuild and install the X font and encoding libraries: cd /usr/xenocara/lib/libXfont2 make -f Makefile.bsd-wrapper obj make -f Makefile.bsd-wrapper build cd /usr/xenocara/lib/libfontenc make -f Makefile.bsd-wrapper obj make -f Makefile.bsd-wrapper build Index: lib/libXfont2/src/FreeType/ftfuncs.c =================================================================== RCS file: /cvs/xenocara/lib/libXfont2/src/FreeType/ftfuncs.c,v diff -u -p -r1.4 ftfuncs.c --- lib/libXfont2/src/FreeType/ftfuncs.c 31 Aug 2022 08:05:53 -0000 1.4 +++ lib/libXfont2/src/FreeType/ftfuncs.c 13 Nov 2026 17:28:36 -0000 @@ -423,6 +423,7 @@ FreeTypeOpenInstance(FTInstancePtr *inst instance->face = face; instance->load_flags = load_flags; + instance->strike_index = 0xFFFFU; instance->spacing = spacing; /* Actual spacing */ instance->pixel_size =0; instance->pixel_width_unit_x =0; @@ -478,8 +479,6 @@ FreeTypeOpenInstance(FTInstancePtr *inst FT_F26Dot6 tt_char_width, tt_char_height, tt_dim_x, tt_dim_y; FT_Int nn; - instance->strike_index=0xFFFFU; - tt_char_width = (FT_F26Dot6)(trans->scale*(1<<6) + 0.5); tt_char_height = (FT_F26Dot6)(trans->scale*(1<<6) + 0.5); @@ -974,7 +973,8 @@ FT_Do_SBit_Metrics( FT_Face ft_face, FT_ int *sbitchk_incomplete_but_exist ) { #if 1 - if ( strike_index != 0xFFFFU && ft_face->available_sizes != NULL ) + if ( strike_index != 0xFFFFU && ft_face->available_sizes != NULL && + strike_index < (FT_ULong) ft_face->num_fixed_sizes ) { FT_Error error; FT_Bitmap_Size* sz = &ft_face->available_sizes[strike_index]; Index: lib/libXfont2/src/bitmap/pcfread.c =================================================================== RCS file: /cvs/xenocara/lib/libXfont2/src/bitmap/pcfread.c,v diff -u -p -r1.4.16.1 pcfread.c --- lib/libXfont2/src/bitmap/pcfread.c 10 Sep 2026 20:36:28 -0000 1.4.16.1 +++ lib/libXfont2/src/bitmap/pcfread.c 13 Nov 2026 17:28:36 -0000 @@ -208,7 +208,9 @@ pcfSeekToType(FontFilePtr file, PCFTable for (i = 0; i < ntables; i++) if (tables[i].type == type) { - if (position > tables[i].offset) + if (position < 0 || (CARD32)position > tables[i].offset) + return FALSE; + if (tables[i].offset - (CARD32)position > INT_MAX) return FALSE; if (!FontFileSkip(file, tables[i].offset - position)) return FALSE; Index: lib/libXfont2/src/fontfile/bufio.c =================================================================== RCS file: /cvs/xenocara/lib/libXfont2/src/fontfile/bufio.c,v diff -u -p -r1.2 bufio.c --- lib/libXfont2/src/fontfile/bufio.c 5 Nov 2024 08:14:56 -0000 1.2 +++ lib/libXfont2/src/fontfile/bufio.c 13 Nov 2026 17:28:36 -0000 @@ -87,6 +87,9 @@ BufFileRawSkip (BufFilePtr f, int count) off_t fileoff; off_t todo; + if (count < 0) + return BUFFILEEOF; + curoff = f->bufp - f->buffer; fileoff = curoff + f->left; if (curoff + count <= fileoff) { Index: lib/libfontenc/src/encparse.c =================================================================== RCS file: /cvs/xenocara/lib/libfontenc/src/encparse.c,v diff -u -p -r1.8 encparse.c --- lib/libfontenc/src/encparse.c 28 Apr 2024 13:53:24 -0000 1.8 +++ lib/libfontenc/src/encparse.c 13 Nov 2026 17:28:37 -0000 @@ -455,9 +455,11 @@ setCode(unsigned from, unsigned to, unsi if (row_size == 0) index = from; else { - if ((value1 & 0xFF) >= row_size) + if ((from & 0xFF) >= row_size) return 0; /* ignore out of range mappings */ index = (from >> 8) * row_size + (from & 0xFF); + if (index > 0xFFFF) + return 0; /* ignore mappings that exceed the encoding size */ } /* Optimize away useless identity mappings. This is only expected