Skip to content

Commit 5785cf7

Browse files
committed
v1.3.1: 安全漏洞修复
安全修复: - 升级 pypdf>=6.8.0,修复 CVE-2026-28804 - 修复 ASCIIHexDecode 流解码效率问题,防止 DoS 攻击 变更: - pypdf>=6.7.4 → pypdf>=6.8.0
1 parent 8cb00d6 commit 5785cf7

7 files changed

Lines changed: 35 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Read any supported document type.
205205
### Core Dependencies
206206
- `mcp` >= 1.26.0 - MCP protocol implementation
207207
- `python-docx` >= 1.2.0 - DOCX file reading
208-
- `pypdf` >= 6.7.4 - PDF file reading (replaces PyPDF2)
208+
- `pypdf` >= 6.8.0 - PDF file reading (replaces PyPDF2)
209209
- `openpyxl` >= 3.1.5 - Excel file reading
210210

211211
### Development Dependencies

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ if DocumentReaderFactory.is_supported("file.xlsx"):
205205
### 核心依赖
206206
- `mcp` >= 1.26.0 - MCP 协议实现
207207
- `python-docx` >= 1.2.0 - DOCX 文件读取
208-
- `pypdf` >= 6.7.4 - PDF 文件读取(替代 PyPDF2)
208+
- `pypdf` >= 6.8.0 - PDF 文件读取(替代 PyPDF2)
209209
- `openpyxl` >= 3.1.5 - Excel 文件读取
210210

211211
### 开发依赖

docs/en/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.3.1] - 2026-03-13
9+
10+
### Security Fixes
11+
12+
- **pypdf Security Vulnerability**: Upgraded pypdf>=6.8.0, fixing CVE-2026-28804
13+
- Fixed inefficient decoding of ASCIIHexDecode streams, preventing DoS attacks
14+
15+
### Changed
16+
17+
- **Dependency Upgrades**:
18+
- pypdf>=6.7.4 → pypdf>=6.8.0
19+
820
## [1.3.0] - 2025-03-10
921

1022
### Changed

docs/zh/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
66
本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/)
77

8+
## [1.3.1] - 2026-03-13
9+
10+
### 安全修复
11+
12+
- **pypdf 安全漏洞**:升级 pypdf>=6.8.0,修复 CVE-2026-28804
13+
- 修复 ASCIIHexDecode 流解码效率问题,防止 DoS 攻击
14+
15+
### 变更
16+
17+
- **依赖升级**
18+
- pypdf>=6.7.4 → pypdf>=6.8.0
19+
820
## [1.3.0] - 2025-03-10
921

1022
### 变更

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mcp-documents-reader"
3-
version = "1.3.0"
3+
version = "1.3.1"
44
description = "An MCP enabled multi-format document reader supporting DOCX, PDF, TXT, and Excel files"
55
keywords = ["mcp", "model-context-protocol", "document-reader", "pdf", "docx", "excel"]
66
authors = [
@@ -11,7 +11,7 @@ requires-python = ">=3.10"
1111
dependencies = [
1212
"mcp>=1.26.0",
1313
"python-docx>=1.2.0",
14-
"pypdf>=6.7.4",
14+
"pypdf>=6.8.0",
1515
"openpyxl>=3.1.5",
1616
"typing_extensions>=4.15.0"
1717
]

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "io.github.xt765/mcp_documents_reader",
44
"title": "MCP Document Reader",
55
"description": "An MCP enabled multi-format document reader supporting DOCX, PDF, TXT, and Excel files",
6-
"version": "1.3.0",
6+
"version": "1.3.1",
77
"license": "MIT",
88
"authors": [
99
{
@@ -25,7 +25,7 @@
2525
{
2626
"registryType": "pypi",
2727
"identifier": "mcp-documents-reader",
28-
"version": "1.3.0",
28+
"version": "1.3.1",
2929
"transport": {
3030
"type": "stdio"
3131
}

uv.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)