CVE-2022-0856
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user...
CVE-2022-0856 is a medium vulnerability (CVSS 6.5) in Cacalabs Libcaca, published March 8, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.75%, the 86th percentile. Fixed in libcaca 0.99.beta20-8.
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
CVE-2022-0856- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List No score
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
CVE-2022-0856- Weakness
- CWE-369
- Updated
- 2026-11-02
EUVDEUVD-2022-15899 No score
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
EUVD-2022-15899- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p2c9-9qhg-mq4q
6.5
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user...
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
GHSA-p2c9-9qhg-mq4q- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-0856
6.5
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
DEBIAN-CVE-2022-0856- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVUBUNTU-CVE-2022-0856
6.5
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
UBUNTU-CVE-2022-0856- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSV No score
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service
- Record
CVE-2022-0856- Weakness
- CWE-369
- Updated
- 2026-11-02
OSVMGASA-2022-0172 No score
Updated libcaca packages fix security vulnerability
libcaca is affected by a Divide By Zero issue via img2txt, which allows a remote malicious user to cause a Denial of Service. (CVE-2022-0856)
- Record
MGASA-2022-0172- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12029-1 No score
caca-utils-0.99.beta19.git20171003-9.1 on GA media
These are all security issues fixed in the caca-utils-0.99.beta19.git20171003-9.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12029-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:1476-1 No score
Security update for libcaca
This update for libcaca fixes the following issues:
- CVE-2022-0856: Fixed a divide by zero issue which could be exploited to cause an application crash (bsc#1197028).
- Record
SUSE-SU-2022:1476-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:1508-1 No score
Security update for libcaca
This update for libcaca fixes the following issues:
- CVE-2022-0856: Fixed a divide by zero issue which could be exploited to cause an application crash (bsc#1197028).
- Record
SUSE-SU-2022:1508-1- Updated
- 2026-11-02
OSVUSN-7943-1 No score
libcaca vulnerability
Han Zheng discovered that libcaca incorrectly handled certain images. An attacker could possibly use this issue to cause libcaca to crash.
- Record
USN-7943-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libcacaDebian:12 |
All versions, plus listed versions 0.99.beta20-30.99.beta20-3+deb12u10.99.beta20-40.99.beta20-50.99.beta20-60.99.beta20-70.99.beta20-8 |
None known |
libcacaDebian:13 |
All versions, plus listed versions 0.99.beta20-50.99.beta20-5+deb13u10.99.beta20-60.99.beta20-70.99.beta20-8 |
None known |
libcacaDebian:14 |
before 0.99.beta20-8, plus listed versions 0.99.beta20-50.99.beta20-60.99.beta20-7 |
0.99.beta20-8 |
libcacaMageia:8 |
before 0.99-0.beta19.5.3.mga8 | 0.99-0.beta19.5.3.mga8 |
libcacaSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 0.99.beta19.git20171003-150200.11.6.1 | 0.99.beta19.git20171003-150200.11.6.1 |
libcacaSUSE:Linux Enterprise Real Time 15 SP2 |
before 0.99.beta19.git20171003-150200.11.6.1 | 0.99.beta19.git20171003-150200.11.6.1 |
libcacaopenSUSE:Leap 15.3 |
before 0.99.beta19.git20171003-150200.11.6.1 | 0.99.beta19.git20171003-150200.11.6.1 |
libcacaopenSUSE:Leap 15.4 |
before 0.99.beta19.git20171003-150200.11.6.1 | 0.99.beta19.git20171003-150200.11.6.1 |
libcacaSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 0.99.beta18-14.9.1 | 0.99.beta18-14.9.1 |
libcacaSUSE:Linux Enterprise Server 12 SP5 |
before 0.99.beta18-14.9.1 | 0.99.beta18-14.9.1 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libcacaSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 0.99.beta18-14.9.1 | 0.99.beta18-14.9.1 |
libcacaUbuntu:Pro:14.04:LTS |
before 0.99.beta18-1ubuntu5.1+esm3, plus listed versions 0.99.beta18-1ubuntu20.99.beta18-1ubuntu30.99.beta18-1ubuntu40.99.beta18-1ubuntu50.99.beta18-1ubuntu5.10.99.beta18-1ubuntu5.1+esm10.99.beta18-1ubuntu5.1+esm2 |
0.99.beta18-1ubuntu5.1+esm3 |
libcacaUbuntu:Pro:16.04:LTS |
before 0.99.beta19-2ubuntu0.16.04.2+esm2, plus listed versions 0.99.beta19-2build2~gcc5.10.99.beta19-2build2~gcc5.20.99.beta19-2ubuntu0.16.04.10.99.beta19-2ubuntu0.16.04.20.99.beta19-2ubuntu0.16.04.2+esm1 |
0.99.beta19-2ubuntu0.16.04.2+esm2 |
libcacaUbuntu:Pro:18.04:LTS |
before 0.99.beta19-2ubuntu0.18.04.3+esm1, plus listed versions 0.99.beta19-2build2~gcc5.20.99.beta19-2build2~gcc5.30.99.beta19-2ubuntu0.18.04.10.99.beta19-2ubuntu0.18.04.20.99.beta19-2ubuntu0.18.04.3 |
0.99.beta19-2ubuntu0.18.04.3+esm1 |
libcacaUbuntu:Pro:20.04:LTS |
before 0.99.beta19-2.1ubuntu1.20.04.2+esm1, plus listed versions 0.99.beta19-2.10.99.beta19-2.1ubuntu10.99.beta19-2.1ubuntu1.20.04.10.99.beta19-2.1ubuntu1.20.04.2 |
0.99.beta19-2.1ubuntu1.20.04.2+esm1 |
libcacaUbuntu:22.04:LTS |
before 0.99.beta19-2.2ubuntu4.1, plus listed versions 0.99.beta19-2.2ubuntu20.99.beta19-2.2ubuntu30.99.beta19-2.2ubuntu4 |
0.99.beta19-2.2ubuntu4.1 |
libcacaUbuntu:24.04:LTS |
before 0.99.beta20-4ubuntu0.1, plus listed versions 0.99.beta20-3build10.99.beta20-40.99.beta20-4build10.99.beta20-4build2 |
0.99.beta20-4ubuntu0.1 |
libcacaUbuntu:25.10 |
before 0.99.beta20-5ubuntu0.25.10.1, plus listed versions 0.99.beta20-5 |
0.99.beta20-5ubuntu0.25.10.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases, products | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/cacalabs/libcaca/issues/65
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GTDRPVX3HCYLQCLMQ6NNSRC3B7L6WGUM
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B3E5GF2LSX2ZEY5JZNM7HXJMLHMY436X
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MFOFTTMHO666HB3TVHBMCES6GCKG5PPG
nvd.nist.gov/vuln/detail/CVE-2022-0856
lists.fedoraproject.org/archives/list/[email protected]/message/B3E5GF2LSX2ZEY5JZNM7HXJMLHMY436X
Show 15 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/GTDRPVX3HCYLQCLMQ6NNSRC3B7L6WGUM
lists.fedoraproject.org/archives/list/[email protected]/message/MFOFTTMHO666HB3TVHBMCES6GCKG5PPG
github.com/advisories/GHSA-p2c9-9qhg-mq4q
github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0856.json
security-tracker.debian.org/tracker/CVE-2022-0856
advisories.mageia.org/MGASA-2022-0172.html
bugs.mageia.org/show_bug.cgi?id=30364
lists.opensuse.org/archives/list/[email protected]/thread/PUXQNAUH2W6TRXYZGBDFHQTMXINVMOJB
suse.com/support/update/announcement/2022/suse-su-20221476-1
bugzilla.suse.com/1197028
suse.com/security/cve/CVE-2022-0856
suse.com/support/update/announcement/2022/suse-su-20221508-1
ubuntu.com/security/CVE-2022-0856
cve.org/CVERecord?id=CVE-2022-0856
ubuntu.com/security/notices/USN-7943-1