Advisory

DEBIAN-CVE-2023-36464

Also known as: CVE-2023-36464

Summary

The record has no summary.

Details

pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if __parse_content_stream is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line while peek not in (b"\r", b"\n") in pypdf/generic/_data_structures.py to while peek not in (b"\r", b"\n", b"").

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2023-06-27 22:15 UTC
Modified
2026-11-03 09:47 UTC

Affected packages and fixes

pypdf

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.4.1-1+deb12u1 (ecosystem)

Fixed versions

3.4.1-1+deb12u1

Fix

  • Fixed version 3.4.1-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pypdf

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.17.4-1 (ecosystem)

Fixed versions

3.17.4-1

Fix

  • Fixed version 3.17.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pypdf

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.17.4-1 (ecosystem)

Fixed versions

3.17.4-1

Fix

  • Fixed version 3.17.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pypdf2

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2.12.1-3+deb12u1 (ecosystem)

Fixed versions

2.12.1-3+deb12u1

Fix

  • Fixed version 2.12.1-3+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences