Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803110 (CVE-2021-36978) - <app-text/qpdf-10.1.0: heap buffer overflow (CVE-2021-36978)
Summary: <app-text/qpdf-10.1.0: heap buffer overflow (CVE-2021-36978)
Alias: CVE-2021-36978
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: B2 [glsa+]
Depends on:
Reported: 2021-07-20 22:33 UTC by John Helmert III
Modified: 2024-01-15 13:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-07-20 22:33:17 UTC

QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain downstream write fails.
Comment 1 NATTkA bot gentoo-dev 2021-07-29 17:20:52 UTC Comment hidden (obsolete)
Comment 2 NATTkA bot gentoo-dev 2021-07-29 17:28:59 UTC Comment hidden (obsolete)
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:36:55 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:44:58 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:53:01 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 17:56:57 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:00:57 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2021-07-29 18:09:15 UTC
Package list is empty or all packages have requested keywords.
Comment 9 Larry the Git Cow gentoo-dev 2024-01-15 13:05:49 UTC
The bug has been referenced in the following commit(s):

commit 2b03edb1da4080468b7bb7a363ee71c9314bdf84
Author:     GLSAMaker <>
AuthorDate: 2024-01-15 13:05:16 +0000
Commit:     Hans de Graaff <>
CommitDate: 2024-01-15 13:05:41 +0000

    [ GLSA 202401-20 ] QPDF: Buffer Overflow
    Signed-off-by: GLSAMaker <>
    Signed-off-by: Hans de Graaff <>

 glsa-202401-20.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)