Follow-up for #1153724 (and its duplicate #1153726, merged separately via 
control@).

Two points, both about whether this is worth a CVE from Debian's side.

1. It is a write, not a read

The primary defect is a global-buffer-overflow *write* in SetFormatIdxUsed()
(src/xlsparse.c:621): FormatIdxUsed[] has NUMOFDATEFORMATS == 12 elements, and
BuiltInDateFormatIdx() returns 10..12 for format_code 0x2D..0x2F, so a FORMAT 
record with
format_code 0x2F writes one byte past the array. The existing guard is `if 
(dateindex)`,
i.e. only a non-zero test.

2. It is a different code path from the catdoc CVEs already on record

    CVE-2024-52035 / CVE-2024-54028 OLE FAT / DIFAT integer overflow and 
underflow
    CVE-2026-111126 xls2csv MULRK record handler, out-of-bounds read
    CVE-2026-111127 copy_unicode_string(), out-of-bounds read

None of those cover SetFormatIdxUsed(), and none cover the RK record path in 
format_rk()
(item 2 of the original report). Both defects were found by fuzzing 0.95 *plus 
the current
debian/patches* (0.95-6), so they are present in what bookworm, trixie and sid 
ship today,
not merely in the 2011 tarball.

If Debian would rather handle this as a straight security upload, the patch 
attached to the
original report is three hunks in src/xlsparse.c and applies to 0.95-6 
unmodified; I am
happy to re-roll it against whatever tree you prefer. If a CVE is warranted, 
please consider
requesting one for the write in item 1 at least.

netwind

________________________________
发件人: Debian Bug Tracking System <[email protected]>
发送时间: 2026年11月11日 10:35
收件人: zwf zwf <[email protected]>
主题: Bug#1153724: Acknowledgement (catdoc: xls2csv global-buffer-overflow write 
in SetFormatIdxUsed (plus an OOB read in format_rk))

Thank you for filing a new Bug report with Debian.

You can follow progress on this Bug here: 1153724: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153724.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--
1153724: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153724
Debian Bug Tracking System
Contact [email protected] with problems

Reply via email to