CVE catalog

CVE-2020-24371

lua5.4: CVE-2020-24371

[CVE catalog]

Severity
High · CVSS 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.75% · Oct 25, 2026

lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlua5.3sid5.3.6-4not affected
Debianlua5.3forky5.3.6-4not affected
Debianlua5.3trixie5.3.6-2not affected
Debianlua5.3bookworm5.3.6-2not affected
Debianlua5.4sid5.4.9-1fixed
Debianlua5.4forky5.4.9-1fixed
Debianlua5.4trixie5.4.7-1fixed
Debianlua5.4bookworm5.4.4-3+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlua5.3sourcesidNot affectedunimportantNot reportedNot reported
Debianlua5.3sourceforkyNot affectedunimportantNot reportedNot reported
Debianlua5.3sourcetrixieNot affectedunimportantNot reportedNot reported
Debianlua5.3sourcebookwormNot affectedunimportantNot reportedNot reported
Debianlua5.4sourcesid5.4.1-1not yet assignedNot reported[971010]
Debianlua5.4sourceforky5.4.1-1not yet assignedNot reported[971010]
Debianlua5.4sourcetrixie5.4.1-1not yet assignedNot reported[971010]
Debianlua5.4sourcebookworm5.4.1-1not yet assignedNot reported[971010]

[Debian bug #971010]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [liblua5.3-0]Not affected

    Source package: [lua5.3]

    Details (2)
    • 5.3.6-2 · amd64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

    • 5.3.6-2 · arm64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

  • [liblua5.3-0-dbg]Not affected

    Source package: [lua5.3]

    Details (2)
    • 5.3.6-2 · amd64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

    • 5.3.6-2 · arm64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

  • [liblua5.3-dev]Not affected

    Source package: [lua5.3]

    Details (2)
    • 5.3.6-2 · amd64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

    • 5.3.6-2 · arm64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

  • Source package: [lua5.4]

    Details (2)
    • 5.4.4-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

    • 5.4.4-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

  • Source package: [lua5.4]

    Details (2)
    • 5.4.4-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

    • 5.4.4-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

  • Source package: [lua5.4]

    Details (2)
    • 5.4.4-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

    • 5.4.4-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

  • [lua5.3]Not affected
    Details (2)
    • 5.3.6-2 · amd64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

    • 5.3.6-2 · arm64 · bookworm

      Not affected

      dsa · lua5.3 · debian · bookworm

  • [lua5.4]Fixed
    Details (2)
    • 5.4.4-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

    • 5.4.4-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · bookworm; dsa · lua5.4 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [lua5.4]

    Details (2)
    • 5.4.7-1+b2 · amd64 · trixie

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · 13

    • 5.4.7-1+b2 · arm64 · trixie

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · 13

  • Source package: [lua5.4]

    Details (2)
    • 5.4.7-1+b2 · amd64 · trixie

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · 13

    • 5.4.7-1+b2 · arm64 · trixie

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · 13

  • [lua5.4]Fixed

    Source package: [lua5.4]

    Details (2)
    • 5.4.7-1+b2 · amd64 · trixie

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · 13

    • 5.4.7-1+b2 · arm64 · trixie

      Fixed · Fixed: 5.4.1-1

      dsa · lua5.4 · debian · 13

Observed:

References