#1139317 debian-security-support: ply EOL: unmaintained upstream, no security feedback

#1139317#5
Date:
2026-06-08 14:15:11 UTC
From:
To:
Dear Maintainer,

ply (binary package 'python3-ply') is unmaintained upstream:
https://github.com/dabeaz/ply#important-notice---december-21-2025
https://github.com/dabeaz/ply/commit/9d7c40099e23ff78f9d86ef69a26c1e8a83e706a

We are not able to get official security feedback, e.g. for:
https://www.openwall.com/lists/oss-security/2026/01/23/4
which is both 9.8/critical:
https://nvd.nist.gov/vuln/detail/CVE-2025-56005
and unimportant at Debian:
https://security-tracker.debian.org/tracker/CVE-2025-56005
and disputed at independent pages:
https://github.com/tom025/ply_exploit_rejection

More importantly we won't get security fixes either.

The project is otherwise considered obsoleted by various other
libraries, so a takeover is unlikely.
The PyPI page didn't see updates either since 2018:
https://pypi.org/project/ply/#history

Consequently it would make sense to mark this package as unsupported
in all dists.

See also:
https://salsa.debian.org/lts-team/lts-updates-tasks/-/work_items/320

Cheers!
Sylvain Beucler
Debian LTS Team

#1139317#10
Date:
2026-06-08 19:11:00 UTC
From:
To:
Hi,

I'm not against marking ply unsupported, but I must say the CVE is
very questionable.
to not load pickle files from unknown sources, preferably only when
you are sure the pickle file came from your own program.
And in PLY, its really meant to be pointed to a pickled version of
the PLY result, IOW (de-)serializing the in-memory built executable
code!

If this CVE was valid, then I imagine the solution for it is to put
in the docs "don't do this".

Also: why is there no bug against src:ply?

Best,
Chris
(a ply user)

#1139317#15
Date:
2026-06-08 21:14:35 UTC
From:
To:
It's marked as bogus in the security tracker. I don't think we should
start declaring random packages which are dead upstream as unsupported,
that won't scale and is also not the right course of action. We have
100s of other packages which no longer have an active upstream and
if there's ever a genuine security issue for ply we can look into
fixes ourselves.

Given the package is dead upstream, I think a sensible step would
be to investigate alternatives and if they have are packaged, file
bugs against the rdeps.

Cheers,
        Moritz

#1139317#20
Date:
2026-06-09 09:32:37 UTC
From:
To:
agreed and +1

+1

I guess I will close this bug soon.

#1139317#25
Date:
2026-06-09 14:28:05 UTC
From:
To:
Hi,

Would it make sense to mark such packages as "limited support"?
(not merely lowly active or abandoned, but officially retired and
without compatible replacement/fork, especially with rdeps.)

They can only get a "best effort" support, notably without upstream to
sanction our fix, which isn't on par with regularly supported packages.
This also hints that something need to change to get full support again.

Cheers!
Sylvain Beucler
Debian LTS Team

#1139317#30
Date:
2026-06-09 17:33:21 UTC
From:
To:
Not really, "limited support" is used for different things.

There's other mechanisms to deal with it, e.g. removing a package in favour
of alternatives if it becomes to burdensome.

Cheers,
        Moritz

#1139317#35
Date:
2026-11-06 02:19:21 UTC
From:
To:
Hi,

Sorry for reacting on this long-standing bug only now...

El 08/06/26 a las 21:14, Moritz Mühlenhoff escribió:

If you don't mind, I have a question about the last sentence. Please,
correct me if I'm wrong, but I remember from other discussion (maybe
about the old freeimage) that we only consider fixes that are sanctioned
by upstream.  My understanding is that upstream is the only one with an
authoritative position to state that a patch fixes a give vulnerability.
Is that understanding inaccurate?

+1

Thanks,

#1139317#40
Date:
2026-11-07 09:02:42 UTC
From:
To:
Hi Santiago,

In the most ideal case we always want a upstream sanctioned patch;
sometimes it is still important to address an issue in stable for a
dead upstream project, someone developed a patch and we are confident
it is the aboslute right fix, then we can pick this change.

Regards,
Salvatore

#1139317#45
Date:
2026-11-07 13:07:46 UTC
From:
To:
El 07/11/26 a las 10:02, Salvatore Bonaccorso escribió:

ACK, that makes sense. Thanks for clarifying!

I'm closing this issue accordingly.

Cheers,