Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-m449-cwjh-6pw7

Опубликовано: 24 нояб. 2025
Источник: github
Github: Прошло ревью
CVSS4: 6.6

Описание

pypdf's LZWDecode streams be manipulated to exhaust RAM

Impact

An attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter.

This is a follow up to GHSA-jfx9-29x2-rv3j to align the default limit with the one for zlib.

Patches

This has been fixed in pypdf==6.4.0.

Workarounds

If users cannot upgrade yet, use the line below to overwrite the default in their code:

pypdf.filters.LZW_MAX_OUTPUT_LENGTH = 75_000_000

Пакеты

Наименование

pypdf

pip
Затронутые версииВерсия исправления

< 6.4.0

6.4.0

EPSS

Процентиль: 21%
0.00066
Низкий

6.6 Medium

CVSS4

Дефекты

CWE-400
CWE-409

Связанные уязвимости

ubuntu
2 месяца назад

pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.

nvd
2 месяца назад

pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.

debian
2 месяца назад

pypdf is a free and open-source pure-python PDF library. Prior to vers ...

EPSS

Процентиль: 21%
0.00066
Низкий

6.6 Medium

CVSS4

Дефекты

CWE-400
CWE-409