CVE catalog

CVE-2020-24342

lua5.4 affected and fixed versions

[CVE catalog]

Lua through 5.4.0 allows a stack redzone cross in luaO_pushvfstring because a protection mechanism wrongly calls luaD_callnoyield twice in a row.

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.08% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixielua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debiantrixielua5.45.4.7-1Fixed[CVE-2020-24342]
Debiansidlua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debiansidlua5.45.4.9-2Fixed[CVE-2020-24342]
Debianforkylua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debianforkylua5.45.4.9-1Fixed[CVE-2020-24342]
Debianbookwormlua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debianbookwormlua5.45.4.4-3+deb12u1Fixed[CVE-2020-24342]
Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormlua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debianbookwormlua5.45.4.4-3+deb12u1Fixed[CVE-2020-24342]
Debianforkylua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debianforkylua5.45.4.9-1Fixed[CVE-2020-24342]
Debiansidlua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debiansidlua5.45.4.9-2Fixed[CVE-2020-24342]
Debiantrixielua5.45.4.1-1FixedDistribution-reported fixed boundary[CVE-2020-24342]
Debiantrixielua5.45.4.7-1Fixed[CVE-2020-24342]
Original provider fields
{
  "package_releases": [
    {
      "name": "lua5.4",
      "status": "fixed",
      "release": "sid",
      "version": "5.4.9-2"
    },
    {
      "name": "lua5.4",
      "status": "fixed",
      "release": "forky",
      "version": "5.4.9-1"
    },
    {
      "name": "lua5.4",
      "status": "fixed",
      "release": "trixie",
      "version": "5.4.7-1"
    },
    {
      "name": "lua5.4",
      "status": "fixed",
      "release": "bookworm",
      "version": "5.4.4-3+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 971012,
      "name": "lua5.4",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "5.4.1-1"
    },
    {
      "bug": 971012,
      "name": "lua5.4",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "5.4.1-1"
    },
    {
      "bug": 971012,
      "name": "lua5.4",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "5.4.1-1"
    },
    {
      "bug": 971012,
      "name": "lua5.4",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "5.4.1-1"
    }
  ],
  "distribution_packages": []
}

[Debian bug #971012]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [liblua5.4-0]Unknown

    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

  • [liblua5.4-dev]Unknown

    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.4]Unknown
    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)]

  • [liblua5.4-0]Unknown

    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

  • [liblua5.4-dev]Unknown

    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]Unknown

    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