Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-36464— Infinite Loop when a comment isn't followed by a character in pypdf

CVSS 6.2 · Medium EPSS 0.35% · P29

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-36464

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Infinite Loop when a comment isn't followed by a character in pypdf
Source: CVE Program / CVE List V5
Vulnerability Description
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"")`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
PyPDF2 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PyPDF2是一个免费的开源纯 python PDF 库。能够拆分、 合并、 裁剪和转换 PDF 文件的页面。 PyPDF2 2.2.0 到3.8.1版本存在安全漏洞,该漏洞源于攻击者可能会制作一个 PDF,如果执行__parse_content_stream,则会导致无限循环。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
py-pdfpypdf pypdf: < 3.90 -

II. Public POCs for CVE-2023-36464

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-36464

登录查看更多情报信息。

Patches & Fixes for CVE-2023-36464 (2)

Vendor Advisories for CVE-2023-36464 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-36464

No comments yet


Leave a comment