QPDF: Buffer Overflow — GLSA 202401-20

A vulnerability has been found in QPDF which can lead to a heap-based buffer overflow.

Affected packages

app-text/qpdf on all architectures
Affected versions < 10.1.0
Unaffected versions >= 10.1.0

Background

QPDF: A content-preserving PDF document transformer.

Description

A vulnerability has been discovered in QPDF. Please review the CVE identifier referenced below for details.

Impact

QPDF 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.

Workaround

There is no known workaround at this time.

Resolution

All QPDF users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-text/qpdf-10.1.0"
 

References

Release date
January 15, 2024

Latest revision
January 15, 2024: 1

Severity
normal

Exploitable
remote

Bugzilla entries