CVE-2022-24859
Manipulated inline images can cause Infinite Loop in PyPDF2
02 Description
Manipulated inline images can cause Infinite Loop in PyPDF2
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.32% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 70.8% of scored records. A rank, not a probability.
- NVD base score
- 5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-04-18 00:00Z4 YR AGO
- Last updated
- 2025-04-22 18:15Z1 YR AGO
- Reserved
- 2022-02-10
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.2)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')Base
- Data version
- 5.1
- Document digest
- 7e0d03675a554346b9c2f263deef2f7ad312bc261a91681ec2f1fd7c911cbb6c
05 Affected products
06 References
- github.comhttps://github.com/py-pdf/PyPDF2/security/advisories/GHSA-xcjx-m2pj-8g79
- github.comhttps://github.com/py-pdf/PyPDF2/issues/329
- github.comhttps://github.com/py-pdf/PyPDF2/pull/740
- github.comhttps://github.com/py-pdf/PyPDF2/releases/tag/1.27.5
- lists.debian.org[debian-lts-announce] 20220603 [SECURITY] [DLA 3039-1] pypdf2 security updatehttps://lists.debian.org/debian-lts-announce/2022/06/msg00001.html
- lists.debian.org[debian-lts-announce] 20230609 [SECURITY] [DLA 3451-1] pypdf2 security updatehttps://lists.debian.org/debian-lts-announce/2023/06/msg00013.html
07 Fixed in
Debian 12
- pypdf2 Fixed in 1.27.9-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- pypdf2 Fixed in 1.26.0-3ubuntu1.20.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- pypdf2 Fixed in 1.26.0-4ubuntu0.22.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- pypdf2 Fixed in 1.25.1-1ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- pypdf2 Fixed in 1.26.0-2ubuntu0.1~esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.