DEBIAN-CVE-2024-31852

Source
https://security-tracker.debian.org/tracker/CVE-2024-31852
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-31852.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2024-31852
Upstream
Published
2024-04-05T15:15:08Z
Modified
2025-10-14T04:25:50.006422Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack, and thus there can sometimes be an exploitable error in the flow of control. This affects the ARM backend and can be demonstrated with Clang. NOTE: the vendor perspective is "we don't have strong objections for a CVE to be created ... It does seem that the likelihood of this miscompile enabling an exploit remains very low, because the miscompile resulting in this JOP gadget is such that the function is most likely to crash on most valid inputs to the function. So, if this function is covered by any testing, the miscompile is most likely to be discovered before the binary is shipped to production."

References

Affected packages

Debian:11

llvm-toolchain-16

Package

Name
llvm-toolchain-16
Purl
pkg:deb/debian/llvm-toolchain-16?arch=source

Affected ranges

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

Affected versions

1:16.*

1:16.0.0~+rc1-1~exp1
1:16.0.0~+rc2-1~exp1
1:16.0.0~+rc3-1~exp1
1:16.0.0~+rc4-1~exp1
1:16.0.0-1~exp1
1:16.0.0-1~exp2
1:16.0.0-1~exp3
1:16.0.0-1~exp4
1:16.0.0-1~exp5
1:16.0.1-1~exp1
1:16.0.1-1~exp2
1:16.0.2-1~exp1
1:16.0.3-1~exp1
1:16.0.4-1~exp1
1:16.0.5-1~exp1
1:16.0.5-1
1:16.0.6-1
1:16.0.6-2
1:16.0.6-3
1:16.0.6-4
1:16.0.6-5
1:16.0.6-6
1:16.0.6-7
1:16.0.6-8
1:16.0.6-9
1:16.0.6-10
1:16.0.6-11
1:16.0.6-12
1:16.0.6-13
1:16.0.6-14
1:16.0.6-15~deb11u1
1:16.0.6-15~deb11u2
1:16.0.6-15~deb12u1
1:16.0.6-15
1:16.0.6-15exp1
1:16.0.6-15+x32
1:16.0.6-16
1:16.0.6-17
1:16.0.6-17exp1
1:16.0.6-18
1:16.0.6-19
1:16.0.6-19.1~exp1
1:16.0.6-20
1:16.0.6-21
1:16.0.6-22
1:16.0.6-23
1:16.0.6-24
1:16.0.6-25
1:16.0.6-26
1:16.0.6-27
1:16.0.6-27+hurd.1
1:16.0.6-27+x32

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12

llvm-toolchain-14

Package

Name
llvm-toolchain-14
Purl
pkg:deb/debian/llvm-toolchain-14?arch=source

Affected ranges

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

Affected versions

1:14.*

1:14.0.6-12
1:14.0.6-12+powerpc
1:14.0.6-13
1:14.0.6-14
1:14.0.6-16
1:14.0.6-16.1~exp1
1:14.0.6-16.1
1:14.0.6-17
1:14.0.6-18
1:14.0.6-19
1:14.0.6-20

Ecosystem specific

{
    "urgency": "unimportant"
}

llvm-toolchain-15

Package

Name
llvm-toolchain-15
Purl
pkg:deb/debian/llvm-toolchain-15?arch=source

Affected ranges

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

Affected versions

1:15.*

1:15.0.6-4
1:15.0.6-5~exp1
1:15.0.6-5~exp2
1:15.0.6-5~exp3
1:15.0.7-1
1:15.0.7-1+hurd.1
1:15.0.7-2
1:15.0.7-3
1:15.0.7-4
1:15.0.7-5~exp1
1:15.0.7-5
1:15.0.7-6
1:15.0.7-7
1:15.0.7-8
1:15.0.7-9
1:15.0.7-10
1:15.0.7-10.1~exp1
1:15.0.7-11
1:15.0.7-11.1
1:15.0.7-12
1:15.0.7-13
1:15.0.7-14
1:15.0.7-15
1:15.0.7-15+hurd.1

Ecosystem specific

{
    "urgency": "unimportant"
}

llvm-toolchain-16

Package

Name
llvm-toolchain-16
Purl
pkg:deb/debian/llvm-toolchain-16?arch=source

Affected ranges

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

Affected versions

1:16.*

1:16.0.0~+rc1-1~exp1
1:16.0.0~+rc2-1~exp1
1:16.0.0~+rc3-1~exp1
1:16.0.0~+rc4-1~exp1
1:16.0.0-1~exp1
1:16.0.0-1~exp2
1:16.0.0-1~exp3
1:16.0.0-1~exp4
1:16.0.0-1~exp5
1:16.0.1-1~exp1
1:16.0.1-1~exp2
1:16.0.2-1~exp1
1:16.0.3-1~exp1
1:16.0.4-1~exp1
1:16.0.5-1~exp1
1:16.0.5-1
1:16.0.6-1
1:16.0.6-2
1:16.0.6-3
1:16.0.6-4
1:16.0.6-5
1:16.0.6-6
1:16.0.6-7
1:16.0.6-8
1:16.0.6-9
1:16.0.6-10
1:16.0.6-11
1:16.0.6-12
1:16.0.6-13
1:16.0.6-14
1:16.0.6-15~deb11u1
1:16.0.6-15~deb11u2
1:16.0.6-15~deb12u1
1:16.0.6-15
1:16.0.6-15exp1
1:16.0.6-15+x32
1:16.0.6-16
1:16.0.6-17
1:16.0.6-17exp1
1:16.0.6-18
1:16.0.6-19
1:16.0.6-19.1~exp1
1:16.0.6-20
1:16.0.6-21
1:16.0.6-22
1:16.0.6-23
1:16.0.6-24
1:16.0.6-25
1:16.0.6-26
1:16.0.6-27
1:16.0.6-27+hurd.1
1:16.0.6-27+x32

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13

llvm-toolchain-17

Package

Name
llvm-toolchain-17
Purl
pkg:deb/debian/llvm-toolchain-17?arch=source

Affected ranges

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

Affected versions

1:17.*

1:17.0.6-22

Ecosystem specific

{
    "urgency": "unimportant"
}

llvm-toolchain-18

Package

Name
llvm-toolchain-18
Purl
pkg:deb/debian/llvm-toolchain-18?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:18.1.3-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:14

llvm-toolchain-17

Package

Name
llvm-toolchain-17
Purl
pkg:deb/debian/llvm-toolchain-17?arch=source

Affected ranges

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

Affected versions

1:17.*

1:17.0.6-22

Ecosystem specific

{
    "urgency": "unimportant"
}

llvm-toolchain-18

Package

Name
llvm-toolchain-18
Purl
pkg:deb/debian/llvm-toolchain-18?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:18.1.3-1

Ecosystem specific

{
    "urgency": "unimportant"
}