ubuntu-cve-2024-42358
Vulnerability from osv_ubuntu
PDFio is a simple C library for reading and writing PDF files. There is a denial of service (DOS) vulnerability in the TTF parser. Maliciously crafted TTF files can cause the program to utilize 100% of the Memory and enter an infinite loop. This can also lead to a heap-buffer-overflow vulnerability. An infinite loop occurs in the read_camp function by nGroups value. The ttf.h library is vulnerable. A value called nGroups is extracted from the file, and by changing that value, you can cause the program to utilize 100% of the Memory and enter an infinite loop. If the value of nGroups in the file is small, an infinite loop will not occur. This library, whether used as a standalone binary or as part of another application, is vulnerable to DOS attacks when parsing certain types of files. Automated systems, including web servers that use this code to convert PDF submissions into plaintext, can be DOSed if an attacker uploads a malicious TTF file. This issue has been addressed in release version 1.3.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ippsample",
"binary_version": "0.0+20180213-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "ippsample",
"purl": "pkg:deb/ubuntu/ippsample@0.0+20180213-0ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+20180213-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ippsample",
"binary_version": "0.0+20180213-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "ippsample",
"purl": "pkg:deb/ubuntu/ippsample@0.0+20180213-0ubuntu1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+20180213-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ippsample",
"binary_version": "0.0+20180213-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "ippsample",
"purl": "pkg:deb/ubuntu/ippsample@0.0+20180213-0ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+20180213-0ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ippsample",
"binary_version": "0.0+20180213-0ubuntu3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "ippsample",
"purl": "pkg:deb/ubuntu/ippsample@0.0+20180213-0ubuntu3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+20180213-0ubuntu1",
"0.0+20180213-0ubuntu2",
"0.0+20180213-0ubuntu3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ippsample",
"binary_version": "0.0+20180213-0ubuntu3"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "ippsample",
"purl": "pkg:deb/ubuntu/ippsample@0.0+20180213-0ubuntu3?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+20180213-0ubuntu3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ippsample",
"binary_version": "0.0.0~git20220215.f365352-1build1"
},
{
"binary_name": "ippsample-data",
"binary_version": "0.0.0~git20220215.f365352-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "ippsample",
"purl": "pkg:deb/ubuntu/ippsample@0.0.0~git20220215.f365352-1build1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.0+20180213-0ubuntu3",
"0.0.0~git20220215.f365352-1",
"0.0.0~git20220215.f365352-1build1"
]
}
],
"aliases": [],
"details": "PDFio is a simple C library for reading and writing PDF files. There is a denial of service (DOS) vulnerability in the TTF parser. Maliciously crafted TTF files can cause the program to utilize 100% of the Memory and enter an infinite loop. This can also lead to a heap-buffer-overflow vulnerability. An infinite loop occurs in the read_camp function by nGroups value. The ttf.h library is vulnerable. A value called nGroups is extracted from the file, and by changing that value, you can cause the program to utilize 100% of the Memory and enter an infinite loop. If the value of nGroups in the file is small, an infinite loop will not occur. This library, whether used as a standalone binary or as part of another application, is vulnerable to DOS attacks when parsing certain types of files. Automated systems, including web servers that use this code to convert PDF submissions into plaintext, can be DOSed if an attacker uploads a malicious TTF file. This issue has been addressed in release version 1.3.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.",
"id": "UBUNTU-CVE-2024-42358",
"modified": "2026-05-20T15:11:31Z",
"published": "2024-08-06T17:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-42358"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2024-42358"
},
{
"type": "REPORT",
"url": "https://github.com/michaelrsweet/pdfio/security/advisories/GHSA-4hh9-j68x-8353"
},
{
"type": "REPORT",
"url": "https://github.com/michaelrsweet/pdfio/commit/e4e1c39578279386b0ab9f9ac14b20a8bad4f935"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2024-42358"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.