# CVE-2024-34408: Tencent libpag through 4.3.51 has an integer overflow in DecodeStream::checkEndOfFile() in codec/utils/DecodeStream.cpp via a crafted PAG (…

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-03T00:00:00.000Z
- Modified: 2026-06-17T07:33:20.400Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- tencent tencent: 5.8.2.5300
- tencent libpag: up to 4.3.51

## References

- <https://github.com/Tencent/libpag/issues/2230> (exploit, issue-tracking)
- <https://github.com/Tencent/libpag/pull/2243> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2024-34408](https://www.cve.org/CVERecord?id=CVE-2024-34408), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-34408](https://nvd.nist.gov/vuln/detail/CVE-2024-34408), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34408 · Whole record: https://cve.day/CVE-2024-34408.json · Rebuilt by cve.day 2026-11-25T22:58:39.916Z
