DEBIAN-CVE-2021-3420

Source
https://security-tracker.debian.org/tracker/CVE-2021-3420
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3420.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-3420
Upstream
Published
2021-03-05T21:15:13Z
Modified
2025-09-25T23:27:04.169216Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nanomemalign, nanovalloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.

References

Affected packages

Debian:11

newlib

Package

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

Affected ranges

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

Affected versions

3.*

3.3.0-1
3.3.0-1.1
3.3.0-1.2
3.3.0-1.3

4.*

4.4.0.20231231-1
4.4.0.20231231-2
4.4.0.20231231-3
4.4.0.20231231-4
4.5.0.20241231-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

picolibc

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12

newlib

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.3.0-1.3+deb12u1

Affected versions

3.*

3.3.0-1.3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

picolibc

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13

newlib

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.0.20231231-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

picolibc

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14

newlib

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.0.20231231-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

picolibc

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}