USN-7437-1 (UBUNTU-CVE-2022-1325)
Vulnerability from osv_ubuntu – Published: 2025-04-15 02:04 – Updated: 2026-04-27 14:11 – Source websiteIt was discovered that the CImg library did not properly check the size of images before loading them. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1325)
It was discovered that the CImg library did not correctly handle certain memory operations, which could lead to a buffer overflow. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2024-26540)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-26540",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "cimg-examples",
"binary_version": "1.7.9+dfsg-2ubuntu0.18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "cimg",
"purl": "pkg:deb/ubuntu/cimg@1.7.9+dfsg-2ubuntu0.18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.9+dfsg-2ubuntu0.18.04.2+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7.9+dfsg-2",
"1.7.9+dfsg-2build1",
"1.7.9+dfsg-2ubuntu0.18.04.1",
"1.7.9+dfsg-2ubuntu0.18.04.2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2022-1325",
"severity": [
{
"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"
}
]
},
{
"id": "CVE-2024-26540",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "cimg-examples",
"binary_version": "2.9.4+dfsg-3ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "cimg",
"purl": "pkg:deb/ubuntu/cimg@2.9.4+dfsg-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.4+dfsg-3ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.9.4+dfsg-2",
"2.9.4+dfsg-3"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2024-26540",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "cimg-examples",
"binary_version": "3.2.1+dfsg-1ubuntu0.24.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "cimg",
"purl": "pkg:deb/ubuntu/cimg@3.2.1+dfsg-1ubuntu0.24.04.1~esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.1+dfsg-1ubuntu0.24.04.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.1+dfsg-1"
]
}
],
"aliases": [],
"details": "It was discovered that the CImg library did not properly check the size\nof images before loading them. An attacker could possibly use this issue\nto cause a denial of service. This issue only affected Ubuntu 22.04 LTS.\n(CVE-2022-1325)\n\nIt was discovered that the CImg library did not correctly handle certain\nmemory operations, which could lead to a buffer overflow. An attacker\ncould possibly use this issue to execute arbitrary code or cause a denial\nof service. (CVE-2024-26540)\n",
"id": "USN-7437-1",
"modified": "2026-04-27T14:11:41Z",
"published": "2025-04-15T02:04:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7437-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-1325"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-26540"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "cimg vulnerabilities",
"upstream": [
"UBUNTU-CVE-2022-1325",
"UBUNTU-CVE-2024-26540"
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.