**Yes—a two-part metal epoxy may secure the loose screw, but a solid support block is the simplest temporary fix.**

I don’t see the GIF attached here. From your description, the threaded stud’s attachment inside the leg may have broken—possibly a weld, rather than a missing nut.

First, check the sofa’s threaded socket by trying a working leg in that position. If that leg also won’t screw in easily, the socket may be damaged; fixing the loose stud alone won’t solve it. Don’t force either leg.

If the socket is sound, you could try this repair:

1. Remove the faulty leg. Clean and dry the accessible metal around where the stud enters the cap, then roughen the bonding area with sandpaper.
2. Apply two-part metal epoxy around that junction, working some into the gap if accessible. **Keep the threads that enter the sofa clean.**
3. Hold the stud straight and at the same protruding length as a good leg while it cures.
4. Wait for the full cure before reinstalling. Original J-B Weld specifies 15–24 hours; follow your product’s instructions. [Manufacturer’s preparation and curing guidance](https://www.jbweld.com/product/j-b-weld-twin-tube).

This is a possible temporary repair, with strength depending on how much sound metal the epoxy can grip. A small bead around a very wobbly stud may fail.

**For immediate support**, use a broad, solid wooden block of the correct height beneath the sofa’s structural frame near the failed leg. Make sure it sits flat and cannot slide or tip; avoid loose stacks of books or bricks.

For a lasting repair, replace the leg with one matching its height, thread diameter, and thread pitch, or have its stud attachment repaired by a metalworker.