Medium
Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()
Type: advisorySources: OSV
A vulnerability was found in libXpm due to a boundary condition within the XpmCreateXpmImageFromBuffer() function. This flaw allows a local attacker to trigger an out-of-bounds read error and read the contents of memory on the system.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-43788
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:06 UTC · Revision 1
Source evidence
Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()
core-osv · Original sourcePublished 10 Oct 2023, 12:26 UTC
A vulnerability was found in libXpm due to a boundary condition within the XpmCreateXpmImageFromBuffer() function. This flaw allows a local attacker to trigger an out-of-bounds read error and read the contents of memory on the system.
osv:CVE-2023-43788
Complete source record
{
"id": "b874ecf2b623fc2f9eee11909c690b8ee062aa12e95f01ff0e74e7e250c9ad6e",
"url": "https://osv.dev/vulnerability/CVE-2023-43788",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Libxpm: out of bounds read in xpmcreatexpmimagefrombuffer()",
"summary": "A vulnerability was found in libXpm due to a boundary condition within the XpmCreateXpmImageFromBuffer() function. This flaw allows a local attacker to trigger an out-of-bounds read error and read the contents of memory on the system.",
"evidence": "osv:CVE-2023-43788",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-43788",
"aliases": [
"CVE-2023-43788"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.freedesktop.org/xorg/lib/libxpm",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "a154f12b6e56f131bd5880fc96f11615ff940b29"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.5.17"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:x.org:libxpm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.5.17"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"libXpm-3.5.16",
"libXpm-3.5.15",
"libXpm-3.5.14",
"libXpm-3.5.13",
"libXpm-3.5.12",
"libXpm-3.5.11",
"libXpm-3.5.10",
"libXpm-3.5.9",
"libXpm-3.5.8",
"libXpm-3.5.7",
"libXpm-3.5.6",
"libXpm-3_5_5",
"XORG-7_1",
"XORG-7_0_99_901",
"XORG-7_0",
"XORG-6_99_99_904",
"MODULAR_COPY",
"XORG-6_99_99_903",
"XORG-6_99_99_902",
"XORG-6_99_99_901",
"XORG-6_8_99_903",
"XORG-6_8_99_902",
"XORG-6_8_99_901",
"XORG-6_99_99_900",
"XORG-6_8_99_900",
"XORG-6_8_99_16",
"XORG-6_8_99_9",
"XORG-6_8_99_8",
"XORG-6_8_99_15",
"XORG-6_8_99_14",
"XORG-6_8_99_13",
"XORG-6_8_99_12",
"XORG-6_8_99_11",
"XORG-6_8_99_10",
"sco_port_update-base",
"XORG-6_8_99_7",
"XORG-6_8_99_6",
"XORG-6_8_99_5",
"XORG-6_8_99_4",
"XORG-6_8_99_3",
"XORG-6_8_99_2",
"XORG-6_8_99_1",
"rel-0-6-1",
"lg3d-rel-0-7-0",
"lg3d-base",
"XORG-6_8_0",
"XORG-6_7_99_904",
"XORG-6_7_99_903",
"XORG-6_7_99_902",
"XORG-6_7_99_901",
"XORG-6_7_99_2",
"XORG-6_7_99_1",
"XACE-SELINUX-MERGE",
"xf86-4_4_99_1",
"xf86-4_4_0",
"xf86-4_3_99_903",
"xf86-4_3_99_903_special",
"xf86-4_3_99_902",
"xf86-4_3_99_901",
"xf86-4_3_99_16",
"xf86-012804-2330",
"xf86-4_3_0_1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43788.json"
}
}
],
"modified": "2026-10-28T02:30:25.892652555Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://lists.debian.org/debian-lts-announce/2023/10/msg00005.html",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/63IBRFLQVZSMOAZBZOBKFWJP26ILRAGQ/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3KFUQT42R7TB4D7RISNSBQFJGLTQGUL/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TFAJTBNO3PAIA6EGZR4PN62H6RLKNDTE/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6FARGWN7VWXXWPXYNEEDJLRR3EWFZ3T/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZECBCLDYUGLDSVV75ECPIBW7JXOB3747/",
"https://access.redhat.com/errata/RHSA-2024:2146",
"https://access.redhat.com/errata/RHSA-2024:2217",
"https://access.redhat.com/errata/RHSA-2024:2974",
"https://access.redhat.com/errata/RHSA-2024:3022",
"https://access.redhat.com/security/cve/CVE-2023-43788",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43788.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-43788",
"https://bugzilla.redhat.com/show_bug.cgi?id=2242248",
"https://gitlab.freedesktop.org/xorg/lib/libxpm"
],
"provider_metadata": {
"cwe_ids": [
"CWE-125"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:3.5.12-11.el8"
},
{
"fixed": "0:2.3.4-20.el8"
},
{
"fixed": "0:3.5.13-10.el9"
},
{
"fixed": "0:2.3.4-28.el9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43788.json"
}
},
"related_cves": [
{
"value": "CVE-2023-43788",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492590,
"published_at": "2023-10-10T12:26:08.737+00:00"
}