CVE-2024-34408: libpag · n/a
Affects libpagSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 3 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubtencent/libpagpkg:github/tencent/libpagOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-34408, organizations should: 1) Avoid processing PAG files from untrusted or unauthenticated sources until patches are available. 2) Implement strict input validation and sanitization for PAG files to detect malformed or suspicious content. 3) Employ sandboxing or containerization techniques to isolate the libpag processing environment, limiting the impact of potential exploitation. 4) Monitor application logs and system behavior for anomalies such as crashes or memory errors related to PAG file handling. 5) Engage with Tencent or relevant software vendors to obtain updates or patches as soon as they are released. 6) Conduct code reviews and static analysis on any custom integrations of libpag to identify and remediate similar integer overflow risks. 7) Limit local user privileges to reduce the risk of exploitation by unprivileged users. These targeted measures go beyond generic advice by focusing on the specific nature of the vulnerability and its exploitation vector.
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.