jhead — security advisory
A vulnerability was found in Matthias-Wandel jhead 3.08 and classified as critical. This issue affects the function PrintFormatNumber of the file exif.c. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-257711.
- Products
- jhead
- Affected versions
- 1:2.97-1, 1:2.97-1+deb8u1build0.14.04.1, 1:2.97-1+deb8u2build0.14.04.1~esm1, 1:2.97-1+deb8u2ubuntu0.1~esm1, 1:2.97-1+deb8u2ubuntu0.1~esm2, 1:2.97-1+deb8u2ubuntu0.1~esm3, 1:2.97-1+deb8u2ubuntu0.1~esm4, 1:3.00-1, 1:3.00-2, 1:3.00-3, 1:3.00-4, 1:3.00-4+deb9u1build0.16.04.1, 1:3.00-4+deb9u1ubuntu0.1~esm1, 1:3.00-4+deb9u1ubuntu0.1~esm2, 1:3.00-4+deb9u1ubuntu0.1~esm3, 1:3.00-4+deb9u1ubuntu0.1~esm4, 1:3.00-5, 1:3.00-6, 1:3.00-8~build0.18.04.1, 1:3.00-8~ubuntu0.1, 1:3.00-8~ubuntu0.2, 1:3.00-8~ubuntu0.2+esm1, 1:3.03-3, 1:3.04-1, 1:3.04-1ubuntu0.1, 1:3.04-1ubuntu0.2, 1:3.04-1ubuntu0.2+esm1, 1:3.04-6, 1:3.06.0.1-2, 1:3.06.0.1-2ubuntu0.22.04.1, 1:3.06.0.1-2ubuntu0.22.04.1+esm1, 1:3.08-1, 1:3.08-2, 1:3.08-3, 1:3.08-3build1
- Fixed versions
- Not specified
- CVEs
- CVE-2024-2824
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:12 UTC · Revision 1
Source evidence
A vulnerability was found in Matthias-Wandel jhead 3.08 and classified as critical. This issue affects the function PrintFormatNumber of the file exif.c. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-257711.
osv:UBUNTU-CVE-2024-2824
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
jhead
Fixed versions: Not specified
Complete source record
{
"id": "be5e0b2e4a073df316292e1029f4b7c6c225c78ec34eba3a5df342ac2d65fe55",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-2824",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-2824",
"summary": "A vulnerability was found in Matthias-Wandel jhead 3.08 and classified as critical. This issue affects the function PrintFormatNumber of the file exif.c. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-257711.",
"evidence": "osv:UBUNTU-CVE-2024-2824",
"products": [
{
"name": {
"value": "jhead",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:2.97-1",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.97-1+deb8u1build0.14.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.97-1+deb8u2build0.14.04.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.97-1+deb8u2ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.97-1+deb8u2ubuntu0.1~esm2",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.97-1+deb8u2ubuntu0.1~esm3",
"evidence": "/affected/0/versions"
},
{
"value": "1:2.97-1+deb8u2ubuntu0.1~esm4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.00-1",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-2",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-3",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-4+deb9u1build0.16.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-4+deb9u1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-4+deb9u1ubuntu0.1~esm2",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-4+deb9u1ubuntu0.1~esm3",
"evidence": "/affected/1/versions"
},
{
"value": "1:3.00-4+deb9u1ubuntu0.1~esm4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.00-4",
"evidence": "/affected/2/versions"
},
{
"value": "1:3.00-5",
"evidence": "/affected/2/versions"
},
{
"value": "1:3.00-6",
"evidence": "/affected/2/versions"
},
{
"value": "1:3.00-8~build0.18.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "1:3.00-8~ubuntu0.1",
"evidence": "/affected/2/versions"
},
{
"value": "1:3.00-8~ubuntu0.2",
"evidence": "/affected/2/versions"
},
{
"value": "1:3.00-8~ubuntu0.2+esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.03-3",
"evidence": "/affected/3/versions"
},
{
"value": "1:3.04-1",
"evidence": "/affected/3/versions"
},
{
"value": "1:3.04-1ubuntu0.1",
"evidence": "/affected/3/versions"
},
{
"value": "1:3.04-1ubuntu0.2",
"evidence": "/affected/3/versions"
},
{
"value": "1:3.04-1ubuntu0.2+esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.04-6",
"evidence": "/affected/4/versions"
},
{
"value": "1:3.06.0.1-2",
"evidence": "/affected/4/versions"
},
{
"value": "1:3.06.0.1-2ubuntu0.22.04.1",
"evidence": "/affected/4/versions"
},
{
"value": "1:3.06.0.1-2ubuntu0.22.04.1+esm1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.08-1",
"evidence": "/affected/5/versions"
},
{
"value": "1:3.08-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.08-3",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.08-3build1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "jhead",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:3.08-3",
"evidence": "/affected/8/versions"
},
{
"value": "1:3.08-3build1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-2824",
"aliases": [
"UBUNTU-CVE-2024-2824"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=esm-infra-legacy%2Ftrusty",
"ecosystem": "Ubuntu:Pro:14.04:LTS"
},
"versions": [
"1:2.97-1",
"1:2.97-1+deb8u1build0.14.04.1",
"1:2.97-1+deb8u2build0.14.04.1~esm1",
"1:2.97-1+deb8u2ubuntu0.1~esm1",
"1:2.97-1+deb8u2ubuntu0.1~esm2",
"1:2.97-1+deb8u2ubuntu0.1~esm3",
"1:2.97-1+deb8u2ubuntu0.1~esm4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:2.97-1+deb8u2ubuntu0.1~esm4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"1:3.00-1",
"1:3.00-2",
"1:3.00-3",
"1:3.00-4+deb9u1build0.16.04.1",
"1:3.00-4+deb9u1ubuntu0.1~esm1",
"1:3.00-4+deb9u1ubuntu0.1~esm2",
"1:3.00-4+deb9u1ubuntu0.1~esm3",
"1:3.00-4+deb9u1ubuntu0.1~esm4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.00-4+deb9u1ubuntu0.1~esm4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1:3.00-4",
"1:3.00-5",
"1:3.00-6",
"1:3.00-8~build0.18.04.1",
"1:3.00-8~ubuntu0.1",
"1:3.00-8~ubuntu0.2",
"1:3.00-8~ubuntu0.2+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.00-8~ubuntu0.2+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1:3.03-3",
"1:3.04-1",
"1:3.04-1ubuntu0.1",
"1:3.04-1ubuntu0.2",
"1:3.04-1ubuntu0.2+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.04-1ubuntu0.2+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1:3.04-6",
"1:3.06.0.1-2",
"1:3.06.0.1-2ubuntu0.22.04.1",
"1:3.06.0.1-2ubuntu0.22.04.1+esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.06.0.1-2ubuntu0.22.04.1+esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1:3.08-1",
"1:3.08-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.08-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1:3.08-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.08-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1:3.08-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.08-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "jhead",
"purl": "pkg:deb/ubuntu/jhead?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1:3.08-3",
"1:3.08-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-2824.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "jhead",
"binary_version": "1:3.08-3build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:44.368489870Z",
"provider": "osv",
"upstream": [
"CVE-2024-2824"
],
"references": [
"https://ubuntu.com/security/CVE-2024-2824",
"https://github.com/Matthias-Wandel/jhead/issues/84",
"https://vuldb.com/?id.257711",
"https://vuldb.com/?ctiid.257711",
"https://github.com/Matthias-Wandel/jhead/files/14613084/poc.zip",
"https://www.cve.org/CVERecord?id=CVE-2024-2824"
]
},
"related_cves": [
{
"value": "CVE-2024-2824",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356098,
"published_at": "2024-03-22T18:15:00+00:00"
}