PDFlib: Multiple buffer overflows — GLSA 200803-17

Multiple stack-based buffer overflows have been reported in PDFlib.

Affected packages

media-libs/pdflib on all architectures
Affected versions < 7.0.2_p8
Unaffected versions >= 7.0.2_p8

Background

PDFlib is a library for generating PDF on the fly.

Description

poplix reported multiple boundary errors in the pdc_fsearch_fopen() function when processing overly long filenames.

Impact

A remote attacker could send specially crafted content to a vulnerable application using PDFlib, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All PDFlib users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/pdflib-7.0.2_p8"

References

Release date
March 10, 2008

Latest revision
March 10, 2008: 01

Severity
normal

Exploitable
remote

Bugzilla entries