Resource exhaustion via Stack overflow in libjxl
There exists a stack buffer overflow in libjxl. A specifically-crafted file can cause the JPEG XL decoder to use large amounts of stack space (up to 256mb is possible, maybe 512mb), potentially exhausting the stack. An attacker can craft a file that will cause excessive memory usage. We recommend upgrading past commit 65fbec56bc578b6b6ee02a527be70787bbd053b0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-11498
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 22:14 UTC · Revision 1
Source evidence
Resource exhaustion via Stack overflow in libjxl
core-osv · Original sourcePublished 25 Nov 2024, 13:08 UTC
There exists a stack buffer overflow in libjxl. A specifically-crafted file can cause the JPEG XL decoder to use large amounts of stack space (up to 256mb is possible, maybe 512mb), potentially exhausting the stack. An attacker can craft a file that will cause excessive memory usage. We recommend upgrading past commit 65fbec56bc578b6b6ee02a527be70787bbd053b0.
osv:CVE-2024-11498
Complete source record
{
"id": "7ef21bb34feac987d7dc6416050beb27d49cd4406f12183834cbe52978599d99",
"url": "https://osv.dev/vulnerability/CVE-2024-11498",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Resource exhaustion via Stack overflow in libjxl",
"summary": "There exists a stack buffer overflow in libjxl. A specifically-crafted file can cause the JPEG XL decoder to use large amounts of stack space (up to 256mb is possible, maybe 512mb), potentially exhausting the stack. An attacker can craft a file that will cause excessive memory usage. We recommend upgrading past commit 65fbec56bc578b6b6ee02a527be70787bbd053b0.",
"evidence": "osv:CVE-2024-11498",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-11498",
"aliases": [
"CVE-2024-11498"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libjxl/libjxl",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "aa2df30120b92078ab7b172fadf97dd7a937f51a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libjxl_project:libjxl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.8.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.8.0rc1",
"v0.7rc",
"v0.7-base",
"v0.8-snapshot",
"v0.6-base",
"v0.5-base",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.3",
"v0.2.0",
"v0.2",
"v0.1.1",
"v0.1.0",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-11498.json"
}
}
],
"modified": "2026-10-28T02:30:40.165418455Z",
"provider": "osv",
"references": [
"https://github.com/libjxl/libjxl/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11498.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-11498",
"https://github.com/libjxl/libjxl/pull/3943"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "Google",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "0.11.0"
},
{
"fixed": "65fbec56bc578b6b6ee02a527be70787bbd053b0"
},
{
"introduced": "0.10.0-2"
},
{
"fixed": "65fbec56bc578b6b6ee02a527be70787bbd053b0"
},
{
"introduced": "0.9.0-3"
},
{
"fixed": "65fbec56bc578b6b6ee02a527be70787bbd053b0"
},
{
"introduced": "0.8.0-3"
},
{
"fixed": "65fbec56bc578b6b6ee02a527be70787bbd053b0"
},
{
"introduced": "0.7.0-1"
},
{
"fixed": "65fbec56bc578b6b6ee02a527be70787bbd053b0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"last_affected": "256mb"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/11xxx/CVE-2024-11498.json"
}
},
"related_cves": [
{
"value": "CVE-2024-11498",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507520,
"published_at": "2024-11-25T13:08:07.14+00:00"
}