UBUNTU-CVE-2020-37121

Source
https://ubuntu.com/security/CVE-2020-37121
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-37121
Upstream
  • CVE-2020-37121
Published
2026-02-05T17:16:00Z
Modified
2026-09-16T14:00:54Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • 6.7 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

CODE::BLOCKS 16.01 contains a buffer overflow vulnerability that allows attackers to execute arbitrary code by overwriting Structured Exception Handler with crafted Unicode characters. Attackers can create a malicious text file with 1982 bytes of buffer and shellcode to trigger remote code execution.

References

Affected packages

Ubuntu:16.04:LTS
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

13.*
13.12-3.1build1
13.12+dfsg-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "13.12+dfsg-4"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "13.12+dfsg-4"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "13.12+dfsg-4"
        },
        {
            "binary_name": "libcodeblocks0",
            "binary_version": "13.12+dfsg-4"
        },
        {
            "binary_name": "libwxsmithlib0",
            "binary_version": "13.12+dfsg-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"
Ubuntu:18.04:LTS
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

16.*
16.01+dfsg-2.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "16.01+dfsg-2.1"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "16.01+dfsg-2.1"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "16.01+dfsg-2.1"
        },
        {
            "binary_name": "libcodeblocks0",
            "binary_version": "16.01+dfsg-2.1"
        },
        {
            "binary_name": "libwxsmithlib0",
            "binary_version": "16.01+dfsg-2.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"
Ubuntu:20.04:LTS
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

16.*
16.01+dfsg-2.1
17.*
17.12+dfsg-1
17.12+dfsg-1build1
20.*
20.03-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "20.03-3"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "20.03-3"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "20.03-3"
        },
        {
            "binary_name": "libcodeblocks0",
            "binary_version": "20.03-3"
        },
        {
            "binary_name": "libwxsmithlib0",
            "binary_version": "20.03-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"
Ubuntu:22.04:LTS
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.03-3
20.03-3.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "20.03-3.1"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "20.03-3.1"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "20.03-3.1"
        },
        {
            "binary_name": "libcodeblocks0",
            "binary_version": "20.03-3.1"
        },
        {
            "binary_name": "libwxsmithlib0",
            "binary_version": "20.03-3.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"
Ubuntu:24.04:LTS
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.03+svn13046-0.1build1
20.03+svn13046-0.2
20.03+svn13046-0.3build1
20.03+svn13046-0.3build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "20.03+svn13046-0.3build2"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "20.03+svn13046-0.3build2"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "20.03+svn13046-0.3build2"
        },
        {
            "binary_name": "libcodeblocks0t64",
            "binary_version": "20.03+svn13046-0.3build2"
        },
        {
            "binary_name": "libwxsmithlib0t64",
            "binary_version": "20.03+svn13046-0.3build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"
Ubuntu:25.10
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.03+svn13046-0.4
25.*
25.03+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "25.03+dfsg-2"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "25.03+dfsg-2"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "25.03+dfsg-2"
        },
        {
            "binary_name": "libcodeblocks0t64",
            "binary_version": "25.03+dfsg-2"
        },
        {
            "binary_name": "libwxsmithlib0t64",
            "binary_version": "25.03+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"
Ubuntu:26.04:LTS
codeblocks

Package

Name
codeblocks
Purl
pkg:deb/ubuntu/codeblocks?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

25.*
25.03+dfsg-2
25.03+dfsg-2.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "codeblocks",
            "binary_version": "25.03+dfsg-2.1"
        },
        {
            "binary_name": "codeblocks-common",
            "binary_version": "25.03+dfsg-2.1"
        },
        {
            "binary_name": "codeblocks-contrib",
            "binary_version": "25.03+dfsg-2.1"
        },
        {
            "binary_name": "libcodeblocks0t64",
            "binary_version": "25.03+dfsg-2.1"
        },
        {
            "binary_name": "libwxsmithlib0t64",
            "binary_version": "25.03+dfsg-2.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-37121.json"