CVE catalog

CVE-2020-15945

lua5.1: CVE-2020-15945

[CVE catalog]

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

Lua 5.4.0 (fixed in 5.4.1) has a segmentation fault in changedline in ldebug.c (e.g., when called by luaG_traceexec) because it incorrectly expects that an oldpc value is always updated upon a return of the flow of control to a function.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianlua5.1sid5.1.5-12not affected
Debianlua5.1forky5.1.5-12not affected
Debianlua5.1trixie5.1.5-11not affected
Debianlua5.1bookworm5.1.5-9not affected
Debianlua5.2sid5.2.4-4not affected
Debianlua5.2forky5.2.4-4not affected
Debianlua5.2trixie5.2.4-3not affected
Debianlua5.2bookworm5.2.4-3not affected
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.1sourcesidNot affectedunimportantNot reportedNot reported
Debianlua5.1sourceforkyNot affectedunimportantNot reportedNot reported
Debianlua5.1sourcetrixieNot affectedunimportantNot reportedNot reported
Debianlua5.1sourcebookwormNot affectedunimportantNot reportedNot reported
Debianlua5.2sourcesidNot affectedunimportantNot reportedNot reported
Debianlua5.2sourceforkyNot affectedunimportantNot reportedNot reported
Debianlua5.2sourcetrixieNot affectedunimportantNot reportedNot reported
Debianlua5.2sourcebookwormNot affectedunimportantNot reportedNot reported
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 reportedNot reported
Debianlua5.4sourceforky5.4.1-1not yet assignedNot reportedNot reported
Debianlua5.4sourcetrixie5.4.1-1not yet assignedNot reportedNot reported
Debianlua5.4sourcebookworm5.4.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [liblua5.1-0]Not affected

    Source package: [lua5.1]

    Details (2)
    • 5.1.5-9 · amd64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

    • 5.1.5-9 · arm64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

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

    Source package: [lua5.1]

    Details (2)
    • 5.1.5-9 · amd64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

    • 5.1.5-9 · arm64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

  • [liblua5.1-0-dev]Not affected

    Source package: [lua5.1]

    Details (2)
    • 5.1.5-9 · amd64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

    • 5.1.5-9 · arm64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

  • [liblua5.2-0]Not affected

    Source package: [lua5.2]

    Details (2)
    • 5.2.4-3 · amd64 · bookworm

      Not affected

      dsa · lua5.2 · debian · bookworm

    • 5.2.4-3 · arm64 · bookworm

      Not affected

      dsa · lua5.2 · debian · bookworm

  • [liblua5.2-dev]Not affected

    Source package: [lua5.2]

    Details (2)
    • 5.2.4-3 · amd64 · bookworm

      Not affected

      dsa · lua5.2 · debian · bookworm

    • 5.2.4-3 · arm64 · bookworm

      Not affected

      dsa · lua5.2 · debian · 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.1]Not affected
    Details (2)
    • 5.1.5-9 · amd64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

    • 5.1.5-9 · arm64 · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

  • [lua5.1-doc]Not affected

    Source package: [lua5.1]

    Details (2)
    • 5.1.5-9 · all · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

    • 5.1.5-9 · all · bookworm

      Not affected

      dsa · lua5.1 · debian · bookworm

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

      Not affected

      dsa · lua5.2 · debian · bookworm

    • 5.2.4-3 · arm64 · bookworm

      Not affected

      dsa · lua5.2 · debian · bookworm

  • [lua5.2-doc]Not affected

    Source package: [lua5.2]

    Details (2)
    • 5.2.4-3 · all · bookworm

      Not affected

      dsa · lua5.2 · debian · bookworm

    • 5.2.4-3 · all · bookworm

      Not affected

      dsa · lua5.2 · debian · bookworm

  • [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