Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Olly Betts
Thu, 12 Nov 2026 02:40
Bug#1145423: Bug#1144644: Subject: antiword: heap out-of-bounds write during OLE PPS name decoding
Author: Olly Betts
Date: Thu, 12 Nov 2026 02:40
Date: Thu, 12 Nov 2026 02:40
37 lines
4056 bytes
4056 bytes
On Thu, Sep 17, 2026 at 02:55:28PM +0000, vulnreport wrote:
> A follow-up on the https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145423 :
If you have a follow-up for a bug, please send it to that bug not to the
-done address for a different bug, or it's very likely to get missed.
I've corrected the address in Cc in my reply and quoted the useful parts.
> The engineer replayed the provided PoC with antiword 0.37-18 and
> managed to reproduce the vGet8FontInfo crash.
That's expected as #1145423 is still open (it's not a security bug, and
a crash that only happens on a malformed input file is lower priority).
As I explained, I fixed the OOB write but not the OOB read which your
reproducer also triggers, so I split the OOB read off as #1145423.
> Per analysis, this is caused by an OOB read on the 512-byte stack
> array aucFpage in vGet8ChrInfo. The function trusts two bytes read
> from the file (iFodo and iLen) without checking them against the size
> of aucFpage, and those values are passed to the function vGet8FontInfo
> (1st and 4th arguments).
>
> In vGet8FontInfo, iBytes bounds only iFodoOff, but the index to the
> aucGrpprl array is calculated by iFodo + iFodoOff. The base offset
> iFodo is never checked and this causes the OOB at this line:
>
> switch (usGetWord(iFodo + iFodoOff, aucGrpprl))
>
> To fix this bug, at prop8.c:1470, properly bound the iLen value to BIG_BLOCK_SIZE, like the following:
>
> if (iLen > BIG_BLOCK_SIZE - 1 - iFodo) {
> iLen = BIG_BLOCK_SIZE - 1 - iFodo;
> }
Thanks, will take a look when I get a chance.
Cheers,
Olly
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads