PyPDF2 up to 1.27.4 Content Stream ContentStream._readInlineImage infinite loop
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PyPDF2 up to 1.27.4. It has been classified as problematic. The affected element is the function ContentStream._readInlineImage of the component Content Stream Handler. Performing a manipulation results in infinite loop.
This vulnerability was named CVE-2022-24859. The attack may be initiated remotely. There is no available exploit.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as problematic, was found in PyPDF2 up to 1.27.4. This affects the function ContentStream._readInlineImage of the component Content Stream Handler. The manipulation with an unknown input leads to a infinite loop vulnerability. CWE is classifying the issue as CWE-835. The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. This is going to have an impact on availability.
The weakness was presented 04/18/2022 as GHSA-xcjx-m2pj-8g79. It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2022-24859 since 02/10/2022. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1499 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 210889 (openSUSE 15 Security Update : python-PyPDF2 (openSUSE-SU-2024:0366-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.27.5 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (210889) and EUVD (EUVD-2022-0214). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.7VulDB Meta Temp Score: 5.6
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 6.2
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Infinite loopCWE: CWE-835 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 210889
Nessus Name: openSUSE 15 Security Update : python-PyPDF2 (openSUSE-SU-2024:0366-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PyPDF2 1.27.5
Patch: github.com
Timeline
02/10/2022 🔍04/18/2022 🔍
04/18/2022 🔍
03/09/2026 🔍
Sources
Advisory: GHSA-xcjx-m2pj-8g79Status: Confirmed
CVE: CVE-2022-24859 (🔍)
GCVE (CVE): GCVE-0-2022-24859
GCVE (VulDB): GCVE-100-197643
EUVD: 🔍
Entry
Created: 04/18/2022 22:17Updated: 03/09/2026 05:04
Changes: 04/18/2022 22:17 (42), 04/21/2022 14:59 (1), 04/21/2022 15:01 (12), 11/13/2024 11:37 (16), 03/09/2026 05:04 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.