UBUNTU-CVE-2023-39070

Source
https://ubuntu.com/security/CVE-2023-39070
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39070.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2023-39070
Upstream
Published
2023-09-11T19:15:00Z
Modified
2025-09-08T16:56:26Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

An issue in Cppcheck 2.12 dev allows a local attacker to execute arbitrary code via the removeContradiction parameter in token.cpp:1934.

References

Affected packages

Ubuntu:22.04:LTS

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@2.7-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.3-1
2.6-1
2.6-2
2.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.7-1",
            "binary_name": "cppcheck"
        },
        {
            "binary_version": "2.7-1",
            "binary_name": "cppcheck-gui"
        }
    ]
}

Ubuntu:24.04:LTS

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@2.13.0-2ubuntu3?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*

2.11-3
2.12.0-1
2.13.0-2
2.13.0-2ubuntu1
2.13.0-2ubuntu2
2.13.0-2ubuntu3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.13.0-2ubuntu3",
            "binary_name": "cppcheck"
        },
        {
            "binary_version": "2.13.0-2ubuntu3",
            "binary_name": "cppcheck-gui"
        }
    ]
}

Ubuntu:25.04

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@2.17.1-1?arch=source&distro=plucky

Affected ranges

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

Affected versions

2.*

2.14.0-1build1
2.16.0-1
2.17.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.17.1-1",
            "binary_name": "cppcheck"
        },
        {
            "binary_version": "2.17.1-1",
            "binary_name": "cppcheck-gui"
        }
    ]
}

Ubuntu:Pro:14.04:LTS

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@1.61-1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

1.*

1.60.1-1
1.61-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.61-1",
            "binary_name": "cppcheck"
        }
    ]
}

Ubuntu:Pro:16.04:LTS

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@1.72-1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.69-1build1
1.70-2
1.71-1
1.72-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.72-1",
            "binary_name": "cppcheck"
        },
        {
            "binary_version": "1.72-1",
            "binary_name": "cppcheck-gui"
        }
    ]
}

Ubuntu:Pro:18.04:LTS

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@1.82-1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.80-1
1.81-1
1.81-1build1
1.82-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.82-1",
            "binary_name": "cppcheck"
        },
        {
            "binary_version": "1.82-1",
            "binary_name": "cppcheck-gui"
        }
    ]
}

Ubuntu:Pro:20.04:LTS

cppcheck

Package

Name
cppcheck
Purl
pkg:deb/ubuntu/cppcheck@1.90-4build1?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

1.*

1.88-1
1.89-4
1.90-1
1.90-2
1.90-3
1.90-4
1.90-4build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.90-4build1",
            "binary_name": "cppcheck"
        },
        {
            "binary_version": "1.90-4build1",
            "binary_name": "cppcheck-gui"
        }
    ]
}