Medium
Security advisory
cpdf through 2.8 allows stack consumption via a crafted PDF document.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-54731
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:50 UTC · Revision 1
Source evidence
cpdf through 2.8 allows stack consumption via a crafted PDF document.
osv:CVE-2024-54731
Complete source record
{
"id": "424cd30a7a1b619750e9e29c08e409155955e977992b944b393f1fadeea734e6",
"url": "https://osv.dev/vulnerability/CVE-2024-54731",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-54731",
"summary": "cpdf through 2.8 allows stack consumption via a crafted PDF document.",
"evidence": "osv:CVE-2024-54731",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-54731",
"aliases": [
"CVE-2024-54731"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/johnwhitington/cpdf-source",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "6d36c67b1efe66940fb425fccd4062540f864aa1"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v2.8",
"v2.7.2",
"v2.7.1",
"v2.7",
"v2.6.2",
"v2.6.1",
"v2.6",
"v2.5.1",
"v2.5",
"v2.4",
"v2.3.1",
"v2.3",
"v2.2-patchlevel1",
"v2.2.1",
"v2.2",
"v2.1.1",
"v1.7.2",
"v1.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-54731.json"
}
}
],
"modified": "2026-10-28T02:30:36.069364339Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54731.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-54731",
"https://github.com/johnwhitington/cpdf-source/issues/366"
],
"provider_metadata": {
"cwe_ids": [
"CWE-674"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54731.json"
}
},
"related_cves": [
{
"value": "CVE-2024-54731",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503291,
"published_at": "2025-01-08T00:00:00+00:00"
}