CVE-2025-0624

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-0624
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-0624.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-0624
Related
Published
2025-02-19T19:15:15Z
Modified
2025-03-13T16:50:53.638327Z
Summary
[none]
Details

A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue may result in remote code execution through the same network segment grub is searching for the boot information, which can be used to by-pass secure boot protections.

References

Affected packages

Debian:11 / grub2

Package

Name
grub2
Purl
pkg:deb/debian/grub2?arch=source

Affected ranges

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

Affected versions

2.*

2.04-20
2.06-1
2.06-2
2.06-2+hurd.1
2.06-2+hurd.2
2.06-2+hurd.3
2.06-2+hurd.4
2.06-2+hurd.5
2.06-2+hurd.6
2.06-2+hurd.7
2.06-2+hurd.8
2.06-3~deb10u1
2.06-3~deb10u2
2.06-3~deb10u3
2.06-3~deb10u4
2.06-3~deb11u1
2.06-3~deb11u2
2.06-3~deb11u4
2.06-3~deb11u5
2.06-3~deb11u6
2.06-3
2.06-4
2.06-4+hurd.1
2.06-5
2.06-6
2.06-7
2.06-8
2.06-8+hurd.1
2.06-8.1
2.06-9
2.06-10
2.06-11
2.06-12
2.06-13
2.06-13+hurd.1
2.06-13+hurd.2
2.06-14
2.12~rc1-1
2.12~rc1-2
2.12~rc1-3
2.12~rc1-6
2.12~rc1-7
2.12~rc1-8
2.12~rc1-9
2.12~rc1-10
2.12~rc1-11
2.12~rc1-12
2.12~rc1-13
2.12-1~bpo12+1
2.12-1
2.12-1.1
2.12-2~deb13u1
2.12-2
2.12-3
2.12-4
2.12-5
2.12-5+hurd.1
2.12-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / grub2

Package

Name
grub2
Purl
pkg:deb/debian/grub2?arch=source

Affected ranges

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

Affected versions

2.*

2.06-13
2.06-13+deb12u1
2.06-13+hurd.1
2.06-13+hurd.2
2.06-14
2.12~rc1-1
2.12~rc1-2
2.12~rc1-3
2.12~rc1-6
2.12~rc1-7
2.12~rc1-8
2.12~rc1-9
2.12~rc1-10
2.12~rc1-11
2.12~rc1-12
2.12~rc1-13
2.12-1~bpo12+1
2.12-1
2.12-1.1
2.12-2~deb13u1
2.12-2
2.12-3
2.12-4
2.12-5
2.12-5+hurd.1
2.12-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / grub2

Package

Name
grub2
Purl
pkg:deb/debian/grub2?arch=source

Affected ranges

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

Affected versions

2.*

2.06-13
2.06-13+deb13u1
2.06-13+hurd.1
2.06-13+hurd.2
2.06-14
2.12~rc1-1
2.12~rc1-2
2.12~rc1-3
2.12~rc1-6
2.12~rc1-7
2.12~rc1-8
2.12~rc1-9
2.12~rc1-10
2.12~rc1-11
2.12~rc1-12
2.12~rc1-13
2.12-1~bpo12+1
2.12-1
2.12-1.1
2.12-2~deb13u1
2.12-2
2.12-3
2.12-4
2.12-5
2.12-5+hurd.1
2.12-6

Ecosystem specific

{
    "urgency": "not yet assigned"
}