High
Security advisory
An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-45491
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 08:50 UTC · Revision 1
Source evidence
An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).
osv:CVE-2024-45491
Complete source record
{
"id": "b9ab4db0fe072f9ef1b99098c384ef6fcc038da449ce11e829fef85dd018c723",
"url": "https://osv.dev/vulnerability/CVE-2024-45491",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-45491",
"summary": "An issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT_MAX equals SIZE_MAX).",
"evidence": "osv:CVE-2024-45491",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-45491",
"aliases": [
"CVE-2024-45491"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libexpat/libexpat",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "88b3ed553d8ad335559254863a33360d55b9f1d6"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.3"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"R_2_6_2",
"R_2_6_1",
"R_2_6_0",
"R_2_5_0",
"R_2_4_9",
"R_2_4_8",
"R_2_4_7",
"R_2_4_6",
"R_2_4_5",
"R_2_4_4",
"R_2_4_3",
"R_2_4_2",
"R_2_4_1",
"R_2_4_0",
"R_2_3_0",
"R_2_2_10",
"R_2_2_9",
"R_2_2_8",
"R_2_2_7",
"R_2_2_6",
"R_2_2_5",
"R_2_2_4",
"R_2_2_3",
"R_2_2_2",
"R_2_2_1",
"R_2_2_0",
"R_2_1_1",
"R_2_1_0",
"R_2_0_1",
"R_2_0_0",
"R_1_95_8",
"R_1_95_7",
"R_1_95_6",
"R_1_95_5",
"R_1_95_4",
"R_1_95_3",
"R_1_95_2",
"R_1_95_0",
"libexpat-alpha-1",
"start",
"sourceforge_init",
"jclark-orig",
"V20000512",
"V19991013",
"V19990728",
"V19990709",
"V19990626",
"V1_1",
"V19990425",
"V1990307",
"V19990109",
"V19981231",
"V19981122",
"V1_0",
"beta4",
"beta3",
"beta2",
"REC1_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45491.json"
}
}
],
"modified": "2026-10-28T02:30:50.570784086Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-082556.html",
"https://cert-portal.siemens.com/productcert/html/ssa-613116.html",
"https://lists.debian.org/debian-lts-announce/2024/09/msg00036.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45491.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-45491",
"https://security.netapp.com/advisory/ntap-20241018-0003/",
"https://github.com/libexpat/libexpat/issues/888",
"https://github.com/libexpat/libexpat/pull/891"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45491.json"
}
},
"related_cves": [
{
"value": "CVE-2024-45491",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518806,
"published_at": "2024-08-30T00:00:00+00:00"
}