Tencent libpag up to 4.3.51 PAG File DecodeStream.cpp checkEndOfFile integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.5 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Tencent libpag up to 4.3.51. This affects the function DecodeStream::checkEndOfFile of the file codec/utils/DecodeStream.cpp of the component PAG File Handler. Performing a manipulation results in integer overflow.
This vulnerability is known as CVE-2024-34408. No exploit is available.
Details
A vulnerability classified as critical has been found in Tencent libpag up to 4.3.51. This affects the function DecodeStream::checkEndOfFile of the file codec/utils/DecodeStream.cpp of the component PAG File Handler. The manipulation with an unknown input leads to a integer overflow vulnerability. CWE is classifying the issue as CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. The impact remains unknown. The summary by CVE is:
Tencent libpag through 4.3.51 has an integer overflow in DecodeStream::checkEndOfFile() in codec/utils/DecodeStream.cpp via a crafted PAG (Portable Animated Graphics) file.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2024-34408. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 09/19/2025).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.3.12
- 4.3.13
- 4.3.14
- 4.3.15
- 4.3.16
- 4.3.17
- 4.3.18
- 4.3.19
- 4.3.20
- 4.3.21
- 4.3.22
- 4.3.23
- 4.3.24
- 4.3.25
- 4.3.26
- 4.3.27
- 4.3.28
- 4.3.29
- 4.3.30
- 4.3.31
- 4.3.32
- 4.3.33
- 4.3.34
- 4.3.35
- 4.3.36
- 4.3.37
- 4.3.38
- 4.3.39
- 4.3.40
- 4.3.41
- 4.3.42
- 4.3.43
- 4.3.44
- 4.3.45
- 4.3.46
- 4.3.47
- 4.3.48
- 4.3.49
- 4.3.50
- 4.3.51
Website
- Product: https://github.com/Tencent/libpag/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.5
VulDB Base Score: 5.5
VulDB Temp Score: 5.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
05/03/2024 🔍05/03/2024 🔍
09/19/2025 🔍
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2024-34408 (🔍)
GCVE (CVE): GCVE-0-2024-34408
GCVE (VulDB): GCVE-100-262935
Entry
Created: 05/03/2024 07:49Updated: 09/19/2025 16:13
Changes: 05/03/2024 07:49 (52), 09/19/2025 16:13 (2)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.